	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_get_mac_address    ## -- Begin function qlcnic_82xx_get_mac_address
	.p2align	4, 0x90
_qlcnic_82xx_get_mac_address:           ## @qlcnic_82xx_get_mac_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_QLCNIC_CMD_MAC_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_qlcnic_alloc_mbx_args
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	_BIT_8@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	-40(%rbp), %rax
	movl	%r12d, 4(%rax)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_qlcnic_issue_cmd
	movl	%eax, %ebx
	movq	_QLCNIC_RCODE_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rax
	movl	4(%rax), %ecx
	movl	8(%rax), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%edx, (%r14)
	movl	%eax, 4(%r14)
	movl	%ecx, %eax
	sarl	$24, %eax
	movl	%eax, 8(%r14)
	movl	%ecx, %eax
	sarl	$16, %eax
	movl	%eax, 12(%r14)
	movl	%ecx, %eax
	sarl	$8, %eax
	movl	%eax, 16(%r14)
	movl	%ecx, 20(%r14)
	jmp	LBB0_4
LBB0_3:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	leaq	-48(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_MAC_ADDRESS,4,2     ## @QLCNIC_CMD_MAC_ADDRESS
	.comm	_BIT_8,4,2                      ## @BIT_8
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ## @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get mac address%d\n"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function qlcnic_82xx_get_mac_address
lCPI0_0:
	.long	4294967272                      ; 0xffffffe8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_qlcnic_82xx_get_mac_address
	.p2align	2
_qlcnic_82xx_get_mac_address:           ; @qlcnic_82xx_get_mac_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _QLCNIC_CMD_MAC_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_MAC_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, sp
	mov	x1, x21
	bl	_qlcnic_alloc_mbx_args
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _BIT_8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIT_8@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w22
	ldr	x9, [sp, #8]
	str	w8, [x9, #4]
	mov	x1, sp
	mov	x0, x21
	bl	_qlcnic_issue_cmd
	mov	x20, x0
Lloh6:
	adrp	x8, _QLCNIC_RCODE_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_RCODE_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [sp]
	ldp	w9, w8, [x8, #4]
	asr	w10, w8, #8
	stp	w10, w8, [x19]
	dup.2s	v0, w9
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	str	d0, [x19, #8]
	asr	w8, w9, #8
	stp	w8, w9, [x19, #16]
	b	LBB0_4
LBB0_3:
	ldr	x0, [x21]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, sp
	bl	_qlcnic_free_mbx_args
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_MAC_ADDRESS,4,2     ; @QLCNIC_CMD_MAC_ADDRESS
	.comm	_BIT_8,4,2                      ; @BIT_8
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ; @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get mac address%d\n"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
