	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_privsep_receive
_wpa_driver_privsep_receive:            ## @wpa_driver_privsep_receive
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movl	$4, -48(%rbp)
	movl	$2000, %edi                     ## imm = 0x7D0
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rax, %r13
	movq	%rax, %r12
	leaq	-64(%rbp), %r8
	leaq	-48(%rbp), %r9
	movl	$2000, %edx                     ## imm = 0x7D0
	movl	%ebx, %edi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_recvfrom
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$3, %ebx
	ja	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_22
LBB0_2:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r12, %rdi
	jmp	LBB0_21
LBB0_5:
	leaq	-44(%rbp), %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_os_memcpy
	movl	%ebx, %r12d
	addq	$-4, %r12
	movl	(%r14), %edi
	movl	-44(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-44(%rbp), %eax
	addl	$-128, %eax
	cmpl	$10, %eax
	ja	LBB0_20
## %bb.6:
	addq	$16, %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movl	(%r15), %edi
	movq	_EVENT_SCAN_STARTED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movl	(%r15), %edi
	movq	_EVENT_SCAN_RESULTS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_18:
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_wpa_driver_privsep_event_rx_eapol
	jmp	LBB0_20
LBB0_16:
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_wpa_driver_privsep_event_pmkid_candidate
	jmp	LBB0_20
LBB0_14:
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_wpa_driver_privsep_event_michael_mic_failure
	jmp	LBB0_20
LBB0_15:
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_wpa_driver_privsep_event_interface_status
	jmp	LBB0_20
LBB0_17:
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_wpa_driver_privsep_event_ft_response
	jmp	LBB0_20
LBB0_12:
	movl	(%r15), %edi
	movq	_EVENT_DISASSOC@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_wpa_supplicant_event
	jmp	LBB0_20
LBB0_19:
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_wpa_driver_privsep_event_auth
	jmp	LBB0_20
LBB0_13:
	movl	(%r15), %edi
	movq	_EVENT_ASSOCINFO@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movl	(%r15), %edi
	movq	_EVENT_ASSOC@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_wpa_driver_privsep_event_assoc
LBB0_20:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_21:
	callq	_os_free
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_18
	.long	L0_0_set_16
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recvfrom(priv_socket): %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"privsep_driver: received %u bytes"

L_.str.2:                               ## @.str.2
	.asciz	"Too short event message (len=%d)"

L_.str.3:                               ## @.str.3
	.asciz	"privsep: Event %d received (len=%lu)"

	.comm	_EVENT_SCAN_RESULTS,4,2         ## @EVENT_SCAN_RESULTS
	.comm	_EVENT_SCAN_STARTED,4,2         ## @EVENT_SCAN_STARTED
	.comm	_EVENT_ASSOC,4,2                ## @EVENT_ASSOC
	.comm	_EVENT_DISASSOC,4,2             ## @EVENT_DISASSOC
	.comm	_EVENT_ASSOCINFO,4,2            ## @EVENT_ASSOCINFO
	.no_dead_strip	_wpa_driver_privsep_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_driver_privsep_receive
_wpa_driver_privsep_receive:            ; @wpa_driver_privsep_receive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x21, x0
	mov	w8, #4
	str	w8, [sp, #20]
	mov	w0, #2000
	bl	_os_malloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x4, sp, #24
	add	x5, sp, #20
	mov	x0, x21
	mov	x1, x19
	mov	w2, #2000
	mov	w3, #0
	bl	_recvfrom
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_wpa_printf
	cmp	w21, #3
	b.hi	LBB0_7
; %bb.3:
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_wpa_printf
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
LBB0_5:
	mov	x0, x19
	bl	_os_free
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	add	x0, sp, #28
	mov	x1, x19
	mov	w2, #4
	bl	_os_memcpy
	mov	w8, w21
	sub	x21, x8, #4
	ldr	w0, [x22]
	ldr	w2, [sp, #28]
	str	x21, [sp]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [sp, #28]
	sub	w8, w8, #128
	cmp	w8, #10
	b.hi	LBB0_5
; %bb.8:
	add	x2, x19, #16
Lloh16:
	adrp	x9, lJTI0_0@PAGE
Lloh17:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	ldr	w0, [x20]
Lloh18:
	adrp	x8, _EVENT_SCAN_STARTED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EVENT_SCAN_STARTED@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
	ldr	w0, [x20]
Lloh20:
	adrp	x8, _EVENT_SCAN_RESULTS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EVENT_SCAN_RESULTS@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
	ldr	w0, [x20]
	mov	x1, x2
	mov	x2, x21
	bl	_wpa_driver_privsep_event_rx_eapol
	b	LBB0_5
LBB0_12:
	ldr	w0, [x20]
	mov	x1, x2
	mov	x2, x21
	bl	_wpa_driver_privsep_event_pmkid_candidate
	b	LBB0_5
LBB0_13:
	ldr	w0, [x20]
	mov	x1, x2
	mov	x2, x21
	bl	_wpa_driver_privsep_event_michael_mic_failure
	b	LBB0_5
LBB0_14:
	ldr	w0, [x20]
	mov	x1, x2
	mov	x2, x21
	bl	_wpa_driver_privsep_event_interface_status
	b	LBB0_5
LBB0_15:
	ldr	w0, [x20]
	mov	x1, x2
	mov	x2, x21
	bl	_wpa_driver_privsep_event_ft_response
	b	LBB0_5
LBB0_16:
	ldr	w0, [x20]
Lloh22:
	adrp	x8, _EVENT_DISASSOC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EVENT_DISASSOC@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_wpa_supplicant_event
	b	LBB0_5
LBB0_18:
	ldr	w0, [x20]
	mov	x1, x2
	mov	x2, x21
	bl	_wpa_driver_privsep_event_auth
	b	LBB0_5
LBB0_19:
	ldr	w0, [x20]
Lloh24:
	adrp	x8, _EVENT_ASSOCINFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVENT_ASSOCINFO@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
	ldr	w0, [x20]
Lloh26:
	adrp	x8, _EVENT_ASSOC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EVENT_ASSOC@GOTPAGEOFF]
LBB0_21:
	ldr	w1, [x8]
	mov	x3, x21
	bl	_wpa_driver_privsep_event_assoc
	b	LBB0_5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
	.byte	(LBB0_20-LBB0_9)>>2
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recvfrom(priv_socket): %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"privsep_driver: received %u bytes"

l_.str.2:                               ; @.str.2
	.asciz	"Too short event message (len=%d)"

l_.str.3:                               ; @.str.3
	.asciz	"privsep: Event %d received (len=%lu)"

	.comm	_EVENT_SCAN_RESULTS,4,2         ; @EVENT_SCAN_RESULTS
	.comm	_EVENT_SCAN_STARTED,4,2         ; @EVENT_SCAN_STARTED
	.comm	_EVENT_ASSOC,4,2                ; @EVENT_ASSOC
	.comm	_EVENT_DISASSOC,4,2             ; @EVENT_DISASSOC
	.comm	_EVENT_ASSOCINFO,4,2            ; @EVENT_ASSOCINFO
	.no_dead_strip	_wpa_driver_privsep_receive
.subsections_via_symbols
