	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_success_workaround
_eap_success_workaround:                ## @eap_success_workaround
	.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
	movl	%edx, %ecx
	movl	%esi, %edx
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	leal	1(%rcx), %eax
	movzbl	%al, %eax
	movl	$1, %ebx
	leaq	L_.str(%rip), %rsi
	cmpl	%edx, %eax
	je	LBB0_4
## %bb.2:
	leal	2(%rcx), %eax
	movzbl	%al, %eax
	cmpl	%edx, %eax
	je	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wpa_printf
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP: Workaround for unexpected identifier field in EAP Success: reqId=%d lastId=%d (these are supposed to be same)"

L_.str.1:                               ## @.str.1
	.asciz	"EAP: EAP-Success Id mismatch - reqId=%d lastId=%d"

	.no_dead_strip	_eap_success_workaround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_success_workaround
_eap_success_workaround:                ; @eap_success_workaround
	.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	x3, x2
	mov	x2, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	add	w8, w3, #1
	cmp	w2, w8, uxtb
	b.eq	LBB0_3
; %bb.2:
	add	w8, w3, #2
	cmp	w2, w8, uxtb
	b.ne	LBB0_4
LBB0_3:
	mov	w19, #1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	w19, #0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
Lloh4:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_wpa_printf
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP: Workaround for unexpected identifier field in EAP Success: reqId=%d lastId=%d (these are supposed to be same)"

l_.str.1:                               ; @.str.1
	.asciz	"EAP: EAP-Success Id mismatch - reqId=%d lastId=%d"

	.no_dead_strip	_eap_success_workaround
.subsections_via_symbols
