	.file	"extr_reg.h_mlxsw_reg_ptys_ib_unpack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlxsw_reg_ptys_ib_unpack, @function
mlxsw_reg_ptys_ib_unpack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	test	rsi, rsi
	je	.L2
	mov	r12, rsi
	call	mlxsw_reg_ptys_ib_proto_cap_get@PLT
	mov	DWORD PTR [r12], eax
.L2:
	test	rbx, rbx
	je	.L3
	mov	rdi, rbp
	call	mlxsw_reg_ptys_ib_link_width_cap_get@PLT
	mov	DWORD PTR [rbx], eax
.L3:
	test	r14, r14
	je	.L4
	mov	rdi, rbp
	call	mlxsw_reg_ptys_ib_proto_oper_get@PLT
	mov	DWORD PTR [r14], eax
.L4:
	test	r13, r13
	je	.L1
	mov	rdi, rbp
	call	mlxsw_reg_ptys_ib_link_width_oper_get@PLT
	mov	DWORD PTR 0[r13], eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mlxsw_reg_ptys_ib_unpack, .-mlxsw_reg_ptys_ib_unpack
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_reg.h_mlxsw_reg_ptys_ib_unpack.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_reg_ptys_ib_unpack, %function
mlxsw_reg_ptys_ib_unpack:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r1, #0
	mov	r6, r2
	mov	r5, r3
	mov	r4, r0
	ldr	r8, [sp, #24]
	beq	.L2
	bl	mlxsw_reg_ptys_ib_proto_cap_get
	str	r0, [r7]
.L2:
	cmp	r6, #0
	beq	.L3
	mov	r0, r4
	bl	mlxsw_reg_ptys_ib_link_width_cap_get
	str	r0, [r6]
.L3:
	cmp	r5, #0
	beq	.L4
	mov	r0, r4
	bl	mlxsw_reg_ptys_ib_proto_oper_get
	str	r0, [r5]
.L4:
	cmp	r8, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	mlxsw_reg_ptys_ib_link_width_oper_get
	str	r0, [r8]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	mlxsw_reg_ptys_ib_unpack, .-mlxsw_reg_ptys_ib_unpack
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
