	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zdopen                         ## -- Begin function zdopen
	.p2align	4, 0x90
_zdopen:                                ## @zdopen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movl	$1, %edi
	movl	$88, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	_S_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	_HSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	$0, 72(%rbx)
	movq	_BLOCK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	_CHECK_GAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	$1, (%rbx)
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	callq	_fdopen
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	_zread@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_zclose@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_funopen                        ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_free
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_START,4,2                    ## @S_START
	.comm	_HSIZE,4,2                      ## @HSIZE
	.comm	_BLOCK_MASK,4,2                 ## @BLOCK_MASK
	.comm	_CHECK_GAP,4,2                  ## @CHECK_GAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_zread,4,2                      ## @zread
	.comm	_zclose,4,2                     ## @zclose
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zdopen                         ; -- Begin function zdopen
	.p2align	2
_zdopen:                                ; @zdopen
	.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	x20, x0
	mov	w21, #1
	mov	w0, #1
	mov	w1, #88
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _S_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_START@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #80]
	str	xzr, [x0, #72]
Lloh6:
	adrp	x8, _BLOCK_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BLOCK_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #64]
	stp	xzr, xzr, [x0, #48]
Lloh9:
	adrp	x8, _CHECK_GAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECK_GAP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	str	w21, [x0]
	stp	xzr, xzr, [x0, #24]
	str	xzr, [x0, #16]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fdopen
	str	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.2:
Lloh14:
	adrp	x8, _zread@GOTPAGE
Lloh15:
	ldr	x8, [x8, _zread@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _zclose@GOTPAGE
Lloh18:
	ldr	x8, [x8, _zclose@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	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
	b	_funopen
LBB0_3:
	mov	x0, x19
	bl	_free
LBB0_4:
	mov	x0, #0
	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
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_S_START,4,2                    ; @S_START
	.comm	_HSIZE,4,2                      ; @HSIZE
	.comm	_BLOCK_MASK,4,2                 ; @BLOCK_MASK
	.comm	_CHECK_GAP,4,2                  ; @CHECK_GAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_zread,4,2                      ; @zread
	.comm	_zclose,4,2                     ; @zclose
.subsections_via_symbols
