	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_exec                        ## -- Begin function os_exec
	.p2align	4, 0x90
_os_exec:                               ## @os_exec
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	je	LBB0_3
## %bb.13:
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.15:
	leaq	-304(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_waitpid
	jmp	LBB0_16
LBB0_1:
	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
	callq	_wpa_printf
	movl	$-1, %ebx
	jmp	LBB0_16
LBB0_14:
	xorl	%ebx, %ebx
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.17:
	movl	%ebx, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
LBB0_3:
	movq	%r12, %rdi
	callq	_os_strdup
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_os_strdup
	movq	%rax, %r15
	movq	%r14, -304(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	$1, %ebx
	movq	%r15, %rdi
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_11
	.p2align	4, 0x90
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$32, %al
	jne	LBB0_8
LBB0_18:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rdi), %eax
	incq	%rdi
	cmpb	$32, %al
	je	LBB0_18
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	testb	%al, %al
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rbx), %r13
	movq	%rdi, -304(%rbp,%rbx,8)
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	incq	%rdi
	movb	$0, (%rax)
	cmpq	$29, %rbx
	movq	%r13, %rbx
	jb	LBB0_6
	jmp	LBB0_12
LBB0_11:
	movq	%rbx, %r13
LBB0_12:
	movl	%r13d, %eax
	movq	$0, -304(%rbp,%rax,8)
	leaq	-304(%rbp), %rsi
	movq	%r12, %rdi
	callq	_execv
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wpa_printf
	movq	%r14, %rdi
	callq	_os_free
	movq	%r15, %rdi
	callq	_os_free
	xorl	%edi, %edi
	callq	_exit
LBB0_4:
	movl	$1, %r13d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fork: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"execv: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_exec                        ; -- Begin function os_exec
	.p2align	2
_os_exec:                               ; @os_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_fork
	tbnz	x0, #63, LBB0_5
; %bb.1:
	cbz	x0, LBB0_9
; %bb.2:
	cbz	w19, LBB0_4
; %bb.3:
	add	x1, sp, #16
	mov	w2, #0
	bl	_waitpid
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
	mov	w0, #-1
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_8:
	bl	___stack_chk_fail
LBB0_9:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x21
	bl	_os_strdup
	mov	x19, x0
	mov	x0, x20
	bl	_os_strdup
	mov	x20, x0
	str	x19, [sp, #16]
	cbz	x0, LBB0_19
; %bb.10:
	mov	w21, #1
	add	x22, sp, #16
	mov	x0, x20
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldrb	w8, [x0]
	cbz	w8, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #32
	b.ne	LBB0_14
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0, #1]!
	cmp	w8, #32
	b.eq	LBB0_13
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	cbz	w8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x21, #1
	str	x0, [x22, x21, lsl #3]
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	strb	wzr, [x0], #1
	cmp	x21, #29
	mov	x21, x23
	b.lo	LBB0_11
	b	LBB0_18
LBB0_17:
	mov	x23, x21
LBB0_18:
	add	x8, sp, #16
	str	xzr, [x8, w23, uxtw #3]
	add	x1, sp, #16
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_execv
Lloh14:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	mov	x0, x19
	bl	_os_free
	mov	x0, x20
	bl	_os_free
	mov	w0, #0
	bl	_exit
LBB0_19:
	mov	w23, #1
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fork: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"execv: %s"

.subsections_via_symbols
