	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_configure_arp_nd_offload ## -- Begin function brcmf_configure_arp_nd_offload
	.p2align	4, 0x90
_brcmf_configure_arp_nd_offload:        ## @brcmf_configure_arp_nd_offload
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_BRCMF_ARP_OL_AGENT@GOTPCREL(%rip), %rax
	movq	_BRCMF_ARP_OL_PEER_AUTO_REPLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	testl	%esi, %esi
	cmovel	%esi, %ebx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_brcmf_fil_iovar_int_set
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_brcmf_fil_iovar_int_set
	movq	_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
LBB0_6:
	callq	_brcmf_dbg
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_brcmf_fil_iovar_int_set
	movq	_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.7(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_dbg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_ARP_OL_AGENT,4,2         ## @BRCMF_ARP_OL_AGENT
	.comm	_BRCMF_ARP_OL_PEER_AUTO_REPLY,4,2 ## @BRCMF_ARP_OL_PEER_AUTO_REPLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"arp_ol"

	.comm	_TRACE,4,2                      ## @TRACE
L_.str.1:                               ## @.str.1
	.asciz	"failed to set ARP offload mode to 0x%x, err = %d\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"failed to configure (%d) ARP offload err = %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"successfully configured (%d) ARP offload to 0x%x\n"

L_.str.5:                               ## @.str.5
	.asciz	"ndoe"

L_.str.6:                               ## @.str.6
	.asciz	"failed to configure (%d) ND offload err = %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"successfully configured (%d) ND offload to 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_configure_arp_nd_offload ; -- Begin function brcmf_configure_arp_nd_offload
	.p2align	2
_brcmf_configure_arp_nd_offload:        ; @brcmf_configure_arp_nd_offload
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _BRCMF_ARP_OL_AGENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_ARP_OL_AGENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BRCMF_ARP_OL_PEER_AUTO_REPLY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BRCMF_ARP_OL_PEER_AUTO_REPLY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w1, #0
	csel	w20, wzr, w8, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_brcmf_fil_iovar_int_set
Lloh8:
	adrp	x22, _TRACE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _TRACE@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x3, x0
	ldr	w0, [x22]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	b	LBB0_5
LBB0_2:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_brcmf_fil_iovar_int_set
	mov	x3, x0
	ldr	w0, [x22]
	cbz	w3, LBB0_4
; %bb.3:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x19
	mov	x3, x20
LBB0_5:
	bl	_brcmf_dbg
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_brcmf_fil_iovar_int_set
	mov	x3, x0
	ldr	w0, [x22]
	cbz	w3, LBB0_7
; %bb.6:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x19
	b	LBB0_8
LBB0_7:
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x19
	mov	x3, x20
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_brcmf_dbg
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_ARP_OL_AGENT,4,2         ; @BRCMF_ARP_OL_AGENT
	.comm	_BRCMF_ARP_OL_PEER_AUTO_REPLY,4,2 ; @BRCMF_ARP_OL_PEER_AUTO_REPLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"arp_ol"

	.comm	_TRACE,4,2                      ; @TRACE
l_.str.1:                               ; @.str.1
	.asciz	"failed to set ARP offload mode to 0x%x, err = %d\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"failed to configure (%d) ARP offload err = %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"successfully configured (%d) ARP offload to 0x%x\n"

l_.str.5:                               ; @.str.5
	.asciz	"ndoe"

l_.str.6:                               ; @.str.6
	.asciz	"failed to configure (%d) ND offload err = %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"successfully configured (%d) ND offload to 0x%x\n"

.subsections_via_symbols
