	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_peer_req_is_duplicate
_eap_peer_req_is_duplicate:             ## @eap_peer_req_is_duplicate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jne	LBB0_6
## %bb.1:
	movq	32(%rdi), %rcx
	testq	%rcx, %rcx
	setne	%al
	cmpq	$0, 24(%rdi)
	je	LBB0_7
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	movl	16(%rdi), %esi
	movl	20(%rdi), %edi
	movl	$20, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movb	$1, %al
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP: AS used the same Id again, but EAP packets were not identical"

L_.str.1:                               ## @.str.1
	.asciz	"EAP: workaround - assume this is not a duplicate packet"

	.no_dead_strip	_eap_peer_req_is_duplicate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_peer_req_is_duplicate
_eap_peer_req_is_duplicate:             ; @eap_peer_req_is_duplicate
	.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
	ldp	x9, x10, [x0]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
	mov	x8, x0
	ldp	x10, x9, [x0, #24]
	cmp	x9, #0
	cset	w0, ne
	cmp	x10, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_5
; %bb.2:
	ldp	w1, w0, [x8, #16]
	mov	w2, #20
	bl	_os_memcmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x19, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP: AS used the same Id again, but EAP packets were not identical"

l_.str.1:                               ; @.str.1
	.asciz	"EAP: workaround - assume this is not a duplicate packet"

	.no_dead_strip	_eap_peer_req_is_duplicate
.subsections_via_symbols
