	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_config_ipaddr      ## -- Begin function qlcnic_82xx_config_ipaddr
	.p2align	4, 0x90
_qlcnic_82xx_config_ipaddr:             ## @qlcnic_82xx_config_ipaddr
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_QLCNIC_HOST_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$23, %edi
	callq	_cpu_to_le64
	movq	%rax, -40(%rbp)
	movq	_QLCNIC_H2C_OPCODE_CONFIG_IPADDR@GOTPCREL(%rip), %rax
	movl	8(%rbx), %edi
	shll	$16, %edi
	orl	(%rax), %edi
	callq	_cpu_to_le64
	movq	%rax, -48(%rbp)
	movl	%r15d, %edi
	callq	_cpu_to_le64
	movq	-56(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rax
	movl	%r14d, 8(%rax)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_qlcnic_send_cmd_descs
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	movq	_QLCNIC_IP_UP@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_dev_err
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_HOST_REQUEST,4,2        ## @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_H2C_OPCODE_CONFIG_IPADDR,4,2 ## @QLCNIC_H2C_OPCODE_CONFIG_IPADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not notify %s IP 0x%x reuqest\n"

	.comm	_QLCNIC_IP_UP,4,2               ## @QLCNIC_IP_UP
L_.str.1:                               ## @.str.1
	.asciz	"Add"

L_.str.2:                               ## @.str.2
	.asciz	"Remove"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_config_ipaddr      ; -- Begin function qlcnic_82xx_config_ipaddr
	.p2align	2
_qlcnic_82xx_config_ipaddr:             ; @qlcnic_82xx_config_ipaddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _QLCNIC_HOST_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_HOST_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #23
	bl	_cpu_to_le64
	str	x0, [sp, #24]
Lloh3:
	adrp	x8, _QLCNIC_H2C_OPCODE_CONFIG_IPADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_H2C_OPCODE_CONFIG_IPADDR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x21, #8]
	orr	w0, w8, w9, lsl #16
	bl	_cpu_to_le64
	str	x0, [sp, #16]
	mov	x0, x20
	bl	_cpu_to_le64
	ldr	x8, [sp, #8]
	str	x0, [x8]
	ldr	x8, [sp, #8]
	str	w19, [x8, #8]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #1
	bl	_qlcnic_send_cmd_descs
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x21]
Lloh6:
	adrp	x8, _QLCNIC_IP_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_IP_UP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh11:
	adrp	x10, l_.str.1@PAGE
Lloh12:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w20
	csel	x2, x10, x9, eq
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_dev_err
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_HOST_REQUEST,4,2        ; @QLCNIC_HOST_REQUEST
	.comm	_QLCNIC_H2C_OPCODE_CONFIG_IPADDR,4,2 ; @QLCNIC_H2C_OPCODE_CONFIG_IPADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not notify %s IP 0x%x reuqest\n"

	.comm	_QLCNIC_IP_UP,4,2               ; @QLCNIC_IP_UP
l_.str.1:                               ; @.str.1
	.asciz	"Add"

l_.str.2:                               ; @.str.2
	.asciz	"Remove"

.subsections_via_symbols
