	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_discard_gratuitous_arp
_mwifiex_discard_gratuitous_arp:        ## @mwifiex_discard_gratuitous_arp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movl	(%rax), %edi
	callq	_ntohs
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.2:
	movq	(%rbx), %rbx
	movl	20(%rbx), %r14d
	movq	_ARPOP_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %r14d
	je	LBB0_4
## %bb.3:
	movl	20(%rbx), %r14d
	movq	_ARPOP_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %r14d
	jne	LBB0_9
LBB0_4:
	movq	4(%rbx), %rsi
	movq	12(%rbx), %rdi
	jmp	LBB0_5
LBB0_7:
	movq	(%rbx), %rdi
	movq	_NDISC_NEIGHBOUR_ADVERTISEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	12(%rdi), %eax
	jne	LBB0_9
## %bb.8:
	leaq	4(%rdi), %rsi
	addq	$8, %rdi
LBB0_5:
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_6
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPOP_REPLY,4,2                ## @ARPOP_REPLY
	.comm	_ARPOP_REQUEST,4,2              ## @ARPOP_REQUEST
	.comm	_NDISC_NEIGHBOUR_ADVERTISEMENT,4,2 ## @NDISC_NEIGHBOUR_ADVERTISEMENT
	.no_dead_strip	_mwifiex_discard_gratuitous_arp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_discard_gratuitous_arp
_mwifiex_discard_gratuitous_arp:        ; @mwifiex_discard_gratuitous_arp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x1]
	ldr	w0, [x8]
	bl	_ntohs
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_8
; %bb.2:
	ldr	x19, [x19]
	ldr	w20, [x19, #20]
Lloh0:
	adrp	x8, _ARPOP_REPLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARPOP_REPLY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	w20, w0
	b.eq	LBB0_4
; %bb.3:
	ldr	w20, [x19, #20]
Lloh3:
	adrp	x8, _ARPOP_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARPOP_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	w20, w0
	b.ne	LBB0_8
LBB0_4:
	ldur	x0, [x19, #12]
	ldur	x1, [x19, #4]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _NDISC_NEIGHBOUR_ADVERTISEMENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NDISC_NEIGHBOUR_ADVERTISEMENT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x8, #12]
	cmp	w9, w10
	b.ne	LBB0_8
; %bb.6:
	add	x1, x8, #4
	add	x0, x8, #8
LBB0_7:
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_10
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPOP_REPLY,4,2                ; @ARPOP_REPLY
	.comm	_ARPOP_REQUEST,4,2              ; @ARPOP_REQUEST
	.comm	_NDISC_NEIGHBOUR_ADVERTISEMENT,4,2 ; @NDISC_NEIGHBOUR_ADVERTISEMENT
	.no_dead_strip	_mwifiex_discard_gratuitous_arp
.subsections_via_symbols
