	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mkostemp                       ## -- Begin function mkostemp
	.p2align	4, 0x90
_mkostemp:                              ## @mkostemp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %r9d
	movq	%rdi, %rsi
	movq	_AT_FDCWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-12(%rbp), %rdx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	__gettemp
	cmpq	$1, %rax
	sbbl	%ebx, %ebx
	orl	-12(%rbp), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT_FDCWD,4,2                   ## @AT_FDCWD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mkostemp                       ; -- Begin function mkostemp
	.p2align	2
_mkostemp:                              ; @mkostemp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x5, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _AT_FDCWD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT_FDCWD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	x2, x29, #4
	mov	w3, #0
	mov	w4, #0
	bl	__gettemp
	ldur	w8, [x29, #-4]
	cmp	x0, #0
	csinv	w0, w8, wzr, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT_FDCWD,4,2                   ; @AT_FDCWD
.subsections_via_symbols
