	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_open_tzfile                 ## -- Begin function pg_open_tzfile
	.p2align	4, 0x90
_pg_open_tzfile:                        ## @pg_open_tzfile
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPGPATH@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_pg_TZDIR
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	incl	%eax
	cmpl	(%r12), %eax
	jge	LBB0_12
## %bb.1:
	movq	%rbx, %rcx
	testq	%r14, %r14
	je	LBB0_13
LBB0_2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edx
	subl	%r13d, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %rbx
	leaq	(%r15,%rbx), %rcx
	incq	%rcx
	movl	%ebx, %r8d
	notl	%r8d
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	addl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_scan_directory_ci
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%rbx), %rax
	movb	$47, (%rax)
	leaq	(%rbx,%r15), %rdi
	incq	%rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leaq	1(%r14), %r13
	leal	(%rbx,%rax), %r12d
	incl	%r12d
	testq	%r14, %r14
	jne	LBB0_3
## %bb.8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%r15,%rax), %rsi
	incq	%rsi
	movq	_TZ_STRLEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	incl	%edx
	callq	_strlcpy
LBB0_10:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_PG_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_open
	jmp	LBB0_14
LBB0_12:
	movl	$-1, %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movslq	%ecx, %rbx
	movb	$47, (%r15,%rbx)
	leaq	(%r15,%rbx), %rdi
	incq	%rdi
	movq	%r13, %rsi
	movq	%rcx, %r12
	callq	_strcpy
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_PG_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_open
	testl	%eax, %eax
	jns	LBB0_14
## %bb.16:
	addq	%r15, %rbx
	movb	$0, (%rbx)
	movq	%r12, %rcx
	jmp	LBB0_2
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_PG_BINARY,4,2                  ## @PG_BINARY
	.comm	_TZ_STRLEN_MAX,4,2              ## @TZ_STRLEN_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_open_tzfile                 ; -- Begin function pg_open_tzfile
	.p2align	2
_pg_open_tzfile:                        ; @pg_open_tzfile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAXPGPATH@GOTPAGEOFF]
	ldr	w22, [x24]
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_pg_TZDIR
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_strlcpy
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w22, w0
	add	w8, w8, #1
	ldr	w9, [x24]
	cmp	w8, w9
	b.ge	LBB0_11
; %bb.1:
	cbz	x19, LBB0_14
LBB0_2:
	mov	w25, #47
	mov	x26, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #47
	bl	_strchr
	mov	x23, x0
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w2, w23, w21
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x27, w26
	add	x8, x20, x27
	add	x3, x8, #1
	ldr	w8, [x24]
	mvn	w9, w26
	add	w4, w8, w9
	mov	x0, x20
	mov	x1, x21
	bl	_scan_directory_ci
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x27, #1
	strb	w25, [x20, x27]
	add	x0, x20, x21
	bl	_strlen
	add	w26, w0, w21
	add	x21, x23, #1
	cbnz	x23, LBB0_3
; %bb.8:
	cbz	x19, LBB0_10
; %bb.9:
	add	x8, x20, w22, sxtw
	add	x1, x8, #1
Lloh7:
	adrp	x8, _TZ_STRLEN_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TZ_STRLEN_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	add	w2, w8, #1
	mov	x0, x19
	bl	_strlcpy
LBB0_10:
Lloh10:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _PG_BINARY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	mov	w2, #0
	bl	_open
	b	LBB0_12
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	add	x23, x20, w22, sxtw
	mov	w8, #47
	mov	x0, x23
	strb	w8, [x0], #1
	mov	x1, x21
	bl	_strcpy
Lloh19:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _PG_BINARY@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	mov	w2, #0
	bl	_open
	tbz	w0, #31, LBB0_12
; %bb.15:
	strb	wzr, [x23]
	b	LBB0_2
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_PG_BINARY,4,2                  ; @PG_BINARY
	.comm	_TZ_STRLEN_MAX,4,2              ; @TZ_STRLEN_MAX
.subsections_via_symbols
