	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_spawnattr
_process_spawnattr:                     ## @process_spawnattr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$0, -36(%rbp)
	movl	(%rdi), %eax
	movq	_POSIX_SPAWN_SETPGROUP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movl	20(%r14), %esi
	xorl	%edi, %edi
	callq	_setpgid
	testq	%rax, %rax
	jne	LBB0_19
## %bb.2:
	movl	(%r14), %eax
LBB0_3:
	movq	_POSIX_SPAWN_SETSCHEDULER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	16(%r14), %esi
	leaq	12(%r14), %rdx
	xorl	%edi, %edi
	callq	_sched_setscheduler
	testq	%rax, %rax
	jne	LBB0_19
	jmp	LBB0_8
LBB0_5:
	movq	_POSIX_SPAWN_SETSCHEDPARAM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	leaq	12(%r14), %rsi
	xorl	%edi, %edi
	callq	_sched_setparam
	testq	%rax, %rax
	jne	LBB0_19
LBB0_8:
	movl	(%r14), %ecx
	movq	_POSIX_SPAWN_RESETIDS@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.9:
	xorl	%eax, %eax
	callq	_getgid
	movl	%eax, %edi
	callq	_setegid
	testq	%rax, %rax
	jne	LBB0_19
## %bb.10:
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_seteuid
	testq	%rax, %rax
	jne	LBB0_19
## %bb.11:
	movl	(%r14), %ecx
LBB0_12:
	movq	_POSIX_SPAWN_SETSIGMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	xorl	%edx, %edx
	callq	___sys_sigprocmask
	movl	(%r14), %ecx
LBB0_14:
	movq	_POSIX_SPAWN_SETSIGDEF@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_22
## %bb.15:
	movq	__SIG_MAXSIG@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_22
## %bb.16:
	addq	$4, %r14
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %r15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpl	(%r12), %ebx
	jge	LBB0_21
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sigismember
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	___sys_sigaction
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_22:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_POSIX_SPAWN_SETPGROUP,4,2      ## @POSIX_SPAWN_SETPGROUP
	.comm	_errno,4,2                      ## @errno
	.comm	_POSIX_SPAWN_SETSCHEDULER,4,2   ## @POSIX_SPAWN_SETSCHEDULER
	.comm	_POSIX_SPAWN_SETSCHEDPARAM,4,2  ## @POSIX_SPAWN_SETSCHEDPARAM
	.comm	_POSIX_SPAWN_RESETIDS,4,2       ## @POSIX_SPAWN_RESETIDS
	.comm	_POSIX_SPAWN_SETSIGMASK,4,2     ## @POSIX_SPAWN_SETSIGMASK
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_POSIX_SPAWN_SETSIGDEF,4,2      ## @POSIX_SPAWN_SETSIGDEF
	.comm	__SIG_MAXSIG,4,2                ## @_SIG_MAXSIG
	.no_dead_strip	_process_spawnattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_spawnattr
_process_spawnattr:                     ; @process_spawnattr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _POSIX_SPAWN_SETPGROUP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POSIX_SPAWN_SETPGROUP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w1, [x19, #20]
	mov	w0, #0
	bl	_setpgid
	cbnz	x0, LBB0_19
; %bb.2:
	ldr	w8, [x19]
LBB0_3:
Lloh6:
	adrp	x9, _POSIX_SPAWN_SETSCHEDULER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _POSIX_SPAWN_SETSCHEDULER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x19, #16]
	add	x2, x19, #12
	mov	w0, #0
	bl	_sched_setscheduler
	cbnz	x0, LBB0_19
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x9, _POSIX_SPAWN_SETSCHEDPARAM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _POSIX_SPAWN_SETSCHEDPARAM@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	add	x1, x19, #12
	mov	w0, #0
	bl	_sched_setparam
	cbnz	x0, LBB0_19
LBB0_7:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _POSIX_SPAWN_RESETIDS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _POSIX_SPAWN_RESETIDS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
	bl	_getgid
	bl	_setegid
	cbnz	x0, LBB0_19
; %bb.9:
	bl	_getuid
	bl	_seteuid
	cbnz	x0, LBB0_19
; %bb.10:
	ldr	w8, [x19]
LBB0_11:
Lloh15:
	adrp	x9, _POSIX_SPAWN_SETSIGMASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _POSIX_SPAWN_SETSIGMASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh18:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	x1, x19, #8
	mov	x2, #0
	bl	___sys_sigprocmask
	ldr	w8, [x19]
LBB0_13:
Lloh21:
	adrp	x9, _POSIX_SPAWN_SETSIGDEF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _POSIX_SPAWN_SETSIGDEF@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh24:
	adrp	x21, __SIG_MAXSIG@GOTPAGE
Lloh25:
	ldr	x21, [x21, __SIG_MAXSIG@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, #0
	ccmp	w9, #1, #8, ne
	b.ge	LBB0_15
LBB0_14:
	mov	w0, #0
	b	LBB0_20
LBB0_15:
	mov	w20, #0
	add	x19, x19, #4
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x21]
	cmp	w20, w8
	b.ge	LBB0_14
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	mov	x0, x19
	mov	x1, x20
	bl	_sigismember
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, #0
	bl	___sys_sigaction
	cbz	x0, LBB0_16
LBB0_19:
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_POSIX_SPAWN_SETPGROUP,4,2      ; @POSIX_SPAWN_SETPGROUP
	.comm	_errno,4,2                      ; @errno
	.comm	_POSIX_SPAWN_SETSCHEDULER,4,2   ; @POSIX_SPAWN_SETSCHEDULER
	.comm	_POSIX_SPAWN_SETSCHEDPARAM,4,2  ; @POSIX_SPAWN_SETSCHEDPARAM
	.comm	_POSIX_SPAWN_RESETIDS,4,2       ; @POSIX_SPAWN_RESETIDS
	.comm	_POSIX_SPAWN_SETSIGMASK,4,2     ; @POSIX_SPAWN_SETSIGMASK
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_POSIX_SPAWN_SETSIGDEF,4,2      ; @POSIX_SPAWN_SETSIGDEF
	.comm	__SIG_MAXSIG,4,2                ; @_SIG_MAXSIG
	.no_dead_strip	_process_spawnattr
.subsections_via_symbols
