	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_config_ipaddr      ## -- Begin function qlcnic_83xx_config_ipaddr
	.p2align	4, 0x90
_qlcnic_83xx_config_ipaddr:             ## @qlcnic_83xx_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
	movl	$0, -36(%rbp)
	movq	_QLCNIC_CMD_CONFIGURE_IP_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_alloc_mbx_args
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qlcnic_83xx_set_interface_id_ipaddr
	movq	_QLCNIC_IP_UP@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	cmpl	%r15d, (%r12)
	sete	%al
	movq	-48(%rbp), %rcx
	movl	$2, %edx
	subl	%eax, %edx
	orl	-36(%rbp), %edx
	movl	%edx, 4(%rcx)
	movl	%r14d, %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_swab32
	movl	%eax, -52(%rbp)
	movq	-48(%rbp), %rdi
	addq	$8, %rdi
	leaq	-52(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qlcnic_issue_cmd
	movq	_QLCNIC_RCODE_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	cmpl	%r15d, (%r12)
	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_3:
	leaq	-48(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_CONFIGURE_IP_ADDR,4,2 ## @QLCNIC_CMD_CONFIGURE_IP_ADDR
	.comm	_QLCNIC_IP_UP,4,2               ## @QLCNIC_IP_UP
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ## @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not notify %s IP 0x%x request\n"

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_83xx_config_ipaddr      ; -- Begin function qlcnic_83xx_config_ipaddr
	.p2align	2
_qlcnic_83xx_config_ipaddr:             ; @qlcnic_83xx_config_ipaddr
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _QLCNIC_CMD_CONFIGURE_IP_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_CONFIGURE_IP_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, sp
	mov	x1, x21
	bl	_qlcnic_alloc_mbx_args
	cbnz	w0, LBB0_4
; %bb.1:
	add	x1, sp, #12
	mov	x0, x21
	bl	_qlcnic_83xx_set_interface_id_ipaddr
Lloh3:
	adrp	x22, _QLCNIC_IP_UP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _QLCNIC_IP_UP@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [sp, #12]
	ldr	x10, [sp]
	cmp	w8, w20
	mov	w8, #1
	cinc	w8, w8, ne
	orr	w8, w9, w8
	str	w8, [x10, #4]
	mov	x0, x19
	bl	_ntohl
	bl	_swab32
	str	w0, [sp, #8]
	ldr	x8, [sp]
	add	x0, x8, #8
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	mov	x1, sp
	mov	x0, x21
	bl	_qlcnic_issue_cmd
Lloh5:
	adrp	x8, _QLCNIC_RCODE_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QLCNIC_RCODE_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x21]
	ldr	w8, [x22]
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh10:
	adrp	x10, l_.str.1@PAGE
Lloh11:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w20
	csel	x2, x10, x9, eq
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_dev_err
LBB0_3:
	mov	x0, sp
	bl	_qlcnic_free_mbx_args
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_CONFIGURE_IP_ADDR,4,2 ; @QLCNIC_CMD_CONFIGURE_IP_ADDR
	.comm	_QLCNIC_IP_UP,4,2               ; @QLCNIC_IP_UP
	.comm	_QLCNIC_RCODE_SUCCESS,4,2       ; @QLCNIC_RCODE_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not notify %s IP 0x%x request\n"

l_.str.1:                               ; @.str.1
	.asciz	"Add"

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

.subsections_via_symbols
