	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diffexec
_diffexec:                              ## @diffexec
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_PD_CLOEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdi
	callq	_pdfork
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%rbx), %edi
	callq	_close
	movl	4(%rbx), %edi
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	movl	4(%rbx), %edi
	callq	_close
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_execvp
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_6:
	movl	4(%rbx), %edi
	callq	_close
	movl	-28(%rbp), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PD_CLOEXEC,4,2                 ## @PD_CLOEXEC
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"child could not duplicate descriptor"

L_.str.1:                               ## @.str.1
	.asciz	"could not execute diff: %s"

L_.str.2:                               ## @.str.2
	.asciz	"could not fork"

	.no_dead_strip	_diffexec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diffexec
_diffexec:                              ; @diffexec
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PD_CLOEXEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PD_CLOEXEC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_pdfork
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x19]
	bl	_close
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_err
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_close
	mov	x0, x20
	mov	x1, x21
	bl	_execvp
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	w0, #2
	bl	_err
LBB0_7:
	ldr	w0, [x19, #4]
	bl	_close
	ldr	w0, [sp, #12]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PD_CLOEXEC,4,2                 ; @PD_CLOEXEC
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"child could not duplicate descriptor"

l_.str.1:                               ; @.str.1
	.asciz	"could not execute diff: %s"

l_.str.2:                               ; @.str.2
	.asciz	"could not fork"

	.no_dead_strip	_diffexec
.subsections_via_symbols
