	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pool_open                      ## -- Begin function pool_open
	.p2align	4, 0x90
_pool_open:                             ## @pool_open
	.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
	movq	_opts@GOTPCREL(%rip), %rcx
	movq	_OPT_DONTOPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_poolfd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.2:
	movq	_IPLOOKUP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	%eax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opts,4,2                       ## @opts
	.comm	_OPT_DONTOPEN,4,2               ## @OPT_DONTOPEN
	.comm	_poolfd,4,2                     ## @poolfd
	.comm	_IPLOOKUP_NAME,4,2              ## @IPLOOKUP_NAME
	.comm	_O_RDWR,4,2                     ## @O_RDWR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pool_open                      ; -- Begin function pool_open
	.p2align	2
_pool_open:                             ; @pool_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _opts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opts@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _OPT_DONTOPEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OPT_DONTOPEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x19, _poolfd@GOTPAGE
Lloh7:
	ldr	x19, [x19, _poolfd@GOTPAGEOFF]
	ldr	w0, [x19]
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _IPLOOKUP_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IPLOOKUP_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_open
	str	w0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_opts,4,2                       ; @opts
	.comm	_OPT_DONTOPEN,4,2               ; @OPT_DONTOPEN
	.comm	_poolfd,4,2                     ; @poolfd
	.comm	_IPLOOKUP_NAME,4,2              ; @IPLOOKUP_NAME
	.comm	_O_RDWR,4,2                     ; @O_RDWR
.subsections_via_symbols
