	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_file_actions_entry
_process_file_actions_entry:            ## @process_file_actions_entry
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	xorl	%r14d, %r14d
	cmpl	$130, %eax
	je	LBB0_14
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_12
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_16
## %bb.3:
	movl	20(%rbx), %edi
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	callq	__open
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	%eax, %r15d
	movl	4(%rbx), %esi
	cmpl	%esi, %eax
	jne	LBB0_6
LBB0_10:
	movl	4(%rbx), %edi
	jmp	LBB0_11
LBB0_14:
	movl	4(%rbx), %edi
LBB0_15:
	callq	__close
	jmp	LBB0_16
LBB0_12:
	movl	4(%rbx), %edi
	movl	8(%rbx), %esi
	callq	__dup2
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.13:
	movl	8(%rbx), %edi
LBB0_11:
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	__fcntl
	cmpl	$-1, %eax
	jne	LBB0_16
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%r15d, %edi
	callq	__dup2
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:
	movl	%r15d, %edi
	callq	__close
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EBADF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_10
	jmp	LBB0_16
LBB0_7:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_F_SETFD,4,2                    ## @F_SETFD
	.no_dead_strip	_process_file_actions_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_file_actions_entry
_process_file_actions_entry:            ; @process_file_actions_entry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
	ldp	w1, w0, [x19, #16]
	ldr	w2, [x19, #12]
	bl	__open
	tbnz	w0, #31, LBB0_11
; %bb.4:
	mov	x21, x0
	ldr	w1, [x19, #4]
	cmp	w0, w1
	b.ne	LBB0_13
LBB0_5:
	ldr	w0, [x19, #4]
	b	LBB0_10
LBB0_6:
	ldr	w0, [x19, #4]
	bl	__close
LBB0_7:
	mov	w20, #0
	b	LBB0_12
LBB0_8:
	ldp	w0, w1, [x19, #4]
	bl	__dup2
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.9:
	ldr	w0, [x19, #8]
LBB0_10:
Lloh0:
	adrp	x8, _F_SETFD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_SETFD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	__fcntl
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, #1
	csel	w20, w8, wzr, eq
	b	LBB0_12
LBB0_11:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x21
	bl	__dup2
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.14:
	mov	x0, x21
	bl	__close
	cbz	w0, LBB0_5
; %bb.15:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x8, _EBADF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_5
	b	LBB0_12
LBB0_16:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	mov	x0, x21
	bl	__close
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_F_SETFD,4,2                    ; @F_SETFD
	.no_dead_strip	_process_file_actions_entry
.subsections_via_symbols
