	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %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, %r12d
	xorl	%eax, %eax
	callq	_os_program_init
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_31
## %bb.1:
	xorl	%eax, %eax
	callq	_wpa_priv_fd_workaround
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_os_memset
	movq	$0, -64(%rbp)
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %r14
	leaq	L_.str.1(%rip), %r13
	movq	_optarg@GOTPCREL(%rip), %rbx
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addl	$-66, %eax
	cmpl	$34, %eax
	ja	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	callq	_os_rel2abs_path
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_wpa_debug_level@GOTPCREL(%rip), %rax
	decl	(%rax)
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	_optind@GOTPCREL(%rip), %rbx
	cmpl	%r12d, (%rbx)
	jge	LBB0_9
## %bb.14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
	xorl	%eax, %eax
	callq	_eloop_init
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_usage
LBB0_10:
	movl	$-1, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_30
LBB0_29:
	movq	%r15, %rdi
	callq	_os_daemonize_terminate
LBB0_30:
	movq	%r15, %rdi
	callq	_os_free
	xorl	%eax, %eax
	callq	_os_program_deinit
LBB0_31:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movslq	(%rbx), %rbx
	cmpl	%r12d, %ebx
	jge	LBB0_21
## %bb.17:
	movslq	%r12d, %r13
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	(%r15,%rbx,8), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r15,%rbx,8), %rdx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_wpa_priv_interface_init
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	%rax, -64(%rbp)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_18
LBB0_21:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_24
## %bb.22:
	movq	%r15, %rdi
	callq	_os_daemonize
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	xorl	%eax, %eax
	callq	_eloop_sock_requeue
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_25
LBB0_24:
	movq	_wpa_priv_terminate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_eloop_register_signal_terminate
	xorl	%eax, %eax
	callq	_eloop_run
	jmp	LBB0_25
LBB0_19:
	movl	$-1, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_25:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_wpa_priv_interface_deinit
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_26
LBB0_27:
	xorl	%eax, %eax
	callq	_eloop_destroy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_29
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/var/run/wpa_priv"

L_.str.1:                               ## @.str.1
	.asciz	"Bc:dP:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_wpa_debug_level,4,2            ## @wpa_debug_level
	.comm	_optind,4,2                     ## @optind
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"wpa_priv control directory: '%s'"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"Failed to initialize event loop"

L_.str.4:                               ## @.str.4
	.asciz	"Adding driver:interface %s"

	.comm	_wpa_priv_terminate,4,2         ## @wpa_priv_terminate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x22, x0
	bl	_os_program_init
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #-1
	b	LBB0_18
LBB0_2:
	bl	_wpa_priv_fd_workaround
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_os_memset
	str	xzr, [sp, #8]
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_getopt
	tbnz	w0, #31, LBB0_11
; %bb.3:
	mov	w24, #0
	mov	x19, #0
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
Lloh4:
	adrp	x25, lJTI0_0@PAGE
Lloh5:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh6:
	adrp	x26, _optarg@GOTPAGE
Lloh7:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
Lloh8:
	adrp	x27, _wpa_debug_level@GOTPAGE
Lloh9:
	ldr	x27, [x27, _wpa_debug_level@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_getopt
	tbnz	w0, #31, LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w0, #66
	cmp	w8, #34
	b.hi	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x26]
	bl	_os_rel2abs_path
	mov	x19, x0
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x20, [x26]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	sub	w8, w8, #1
	str	w8, [x27]
	b	LBB0_5
LBB0_11:
	mov	x19, #0
	mov	w24, #0
Lloh12:
	adrp	x20, l_.str@PAGE
Lloh13:
	add	x20, x20, l_.str@PAGEOFF
LBB0_12:
Lloh14:
	adrp	x25, _optind@GOTPAGE
Lloh15:
	ldr	x25, [x25, _optind@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w22
	b.ge	LBB0_15
; %bb.13:
Lloh16:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	bl	_eloop_init
	cbz	x0, LBB0_19
; %bb.14:
Lloh20:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	w20, #-1
	cbnz	w24, LBB0_16
	b	LBB0_17
LBB0_15:
	bl	_usage
	mov	w20, #-1
	cbz	w24, LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_os_daemonize_terminate
LBB0_17:
	mov	x0, x19
	bl	_os_free
	bl	_os_program_deinit
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
	ldrsw	x8, [x25]
	cmp	w8, w22
	b.ge	LBB0_23
; %bb.20:
	sxtw	x9, w22
	add	x22, x21, x8, lsl #3
	sub	x25, x9, x8
Lloh25:
	adrp	x21, l_.str.4@PAGE
Lloh26:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x8, [x22]
	str	x8, [sp]
	mov	x1, x21
	bl	_wpa_printf
	ldr	x2, [x22]
	add	x0, sp, #8
	mov	x1, x20
	bl	_wpa_priv_interface_init
	cbz	x0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [x0]
	str	x0, [sp, #8]
	add	x22, x22, #8
	subs	x25, x25, #1
	b.ne	LBB0_21
LBB0_23:
	cbz	w24, LBB0_27
; %bb.24:
	mov	x0, x19
	bl	_os_daemonize
	cbz	x0, LBB0_27
; %bb.25:
	bl	_eloop_sock_requeue
	cbz	x0, LBB0_27
LBB0_26:
	mov	w20, #-1
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_28
	b	LBB0_29
LBB0_27:
Lloh27:
	adrp	x8, _wpa_priv_terminate@GOTPAGE
Lloh28:
	ldr	x8, [x8, _wpa_priv_terminate@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_eloop_register_signal_terminate
	bl	_eloop_run
	mov	w20, #0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_29
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x0]
	bl	_wpa_priv_interface_deinit
	mov	x0, x21
	cbnz	x21, LBB0_28
LBB0_29:
	bl	_eloop_destroy
	cbnz	w24, LBB0_16
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/var/run/wpa_priv"

l_.str.1:                               ; @.str.1
	.asciz	"Bc:dP:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_wpa_debug_level,4,2            ; @wpa_debug_level
	.comm	_optind,4,2                     ; @optind
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"wpa_priv control directory: '%s'"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"Failed to initialize event loop"

l_.str.4:                               ; @.str.4
	.asciz	"Adding driver:interface %s"

	.comm	_wpa_priv_terminate,4,2         ; @wpa_priv_terminate
.subsections_via_symbols
