	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function temporary_file
_temporary_file:                        ## @temporary_file
	.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	_TMPDIR_ENV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getenv
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_P_tmpdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	13(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_sprintf
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sigprocmask
	movq	%r14, %rdi
	callq	_mkstemp
	movl	%eax, %ebx
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	_tmpname@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
LBB0_4:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-36(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	movl	%r12d, (%r15)
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMPDIR_ENV,4,2                 ## @TMPDIR_ENV
	.comm	_P_tmpdir,8,3                   ## @P_tmpdir
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/sdiffXXXXXX"

	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
	.comm	_errno,4,2                      ## @errno
	.comm	_tmpname,8,3                    ## @tmpname
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.no_dead_strip	_temporary_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function temporary_file
_temporary_file:                        ; @temporary_file
	.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
Lloh0:
	adrp	x8, _TMPDIR_ENV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMPDIR_ENV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_getenv
Lloh3:
	adrp	x8, _P_tmpdir@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P_tmpdir@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x8, x0, eq
	mov	x0, x20
	bl	_strlen
	add	x0, x0, #13
	bl	_xmalloc
	mov	x19, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_sprintf
	add	x0, sp, #8
	bl	_sigemptyset
Lloh8:
	adrp	x8, _SIGINT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_sigaddset
Lloh11:
	adrp	x8, _SIG_BLOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIG_BLOCK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_sigprocmask
	mov	x0, x19
	bl	_mkstemp
	mov	x20, x0
Lloh14:
	adrp	x21, _errno@GOTPAGE
Lloh15:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w22, [x21]
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh16:
	adrp	x8, _tmpname@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tmpname@GOTPAGEOFF]
Lloh18:
	str	x19, [x8]
LBB0_2:
Lloh19:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
	str	w22, [x21]
	mov	x0, x20
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TMPDIR_ENV,4,2                 ; @TMPDIR_ENV
	.comm	_P_tmpdir,8,3                   ; @P_tmpdir
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/sdiffXXXXXX"

	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
	.comm	_errno,4,2                      ; @errno
	.comm	_tmpname,8,3                    ; @tmpname
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.no_dead_strip	_temporary_file
.subsections_via_symbols
