	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_tzenumerate_next            ## -- Begin function pg_tzenumerate_next
	.p2align	4, 0x90
_pg_tzenumerate_next:                   ## @pg_tzenumerate_next
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	20(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	24(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MAXPGPATH@GOTPCREL(%rip), %r12
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_pstrdup
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	%r14, %rdi
	callq	_AllocateDir
	movq	(%rbx), %rcx
	movq	32(%rbx), %rdx
	movl	%eax, (%rdx,%rcx,4)
	testl	%eax, %eax
	je	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rsp
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r13
	movl	(%r12), %r15d
	addl	%r15d, %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	32(%rbx), %rax
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movl	(%rax,%rcx,4), %edi
	movq	(%rdx,%rcx,8), %rsi
	callq	_ReadDir
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %r8
	cmpb	$46, (%r8)
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movq	_MAX_TZDIR_DEPTH@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	cmpq	%rcx, %rax
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.2(%rip), %rdi
	callq	_errmsg_internal
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	(%rbx), %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_FreeDir
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx,%rax,8), %rdi
	callq	_pfree
	decq	(%rbx)
	movq	%r13, %rsp
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	16(%rbx), %rdi
	addq	%r14, %rdi
	xorl	%esi, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	$1, %ecx
	callq	_tzload
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pg_tz_acceptable
	testl	%eax, %eax
	je	LBB0_13
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	%r13, %rsp
	jmp	LBB0_1
LBB0_14:
	movl	20(%rbx), %edi
	movslq	16(%rbx), %rax
	addq	%rax, %r14
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"could not stat \"%s\": %m"

	.comm	_MAX_TZDIR_DEPTH,4,2            ## @MAX_TZDIR_DEPTH
L_.str.2:                               ## @.str.2
	.asciz	"timezone directory stack overflow"

L_.str.3:                               ## @.str.3
	.asciz	"could not open directory \"%s\": %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_tzenumerate_next            ; -- Begin function pg_tzenumerate_next
	.p2align	2
_pg_tzenumerate_next:                   ; @pg_tzenumerate_next
	.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, #32
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x8, x0, #20
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	add	x21, x0, #24
Lloh3:
	adrp	x28, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MAXPGPATH@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
Lloh7:
	adrp	x23, _MAX_TZDIR_DEPTH@GOTPAGE
Lloh8:
	ldr	x23, [x23, _MAX_TZDIR_DEPTH@GOTPAGEOFF]
Lloh9:
	adrp	x19, _ERROR@GOTPAGE
Lloh10:
	ldr	x19, [x19, _ERROR@GOTPAGEOFF]
Lloh11:
	adrp	x25, l_.str.1@PAGE
Lloh12:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	str	x8, [x20]
	mov	x0, x26
	bl	_pstrdup
	ldp	x9, x8, [x20]
	str	x0, [x8, x9, lsl #3]
	mov	x0, x26
	bl	_AllocateDir
	ldr	x8, [x20, #32]
	ldr	x9, [x20]
	str	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_13
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	sp, x24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, sp
	ldr	w8, [x28]
	lsl	w27, w8, #1
	mov	x9, x27
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	ldr	x8, [x20, #32]
	ldp	x9, x10, [x20]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x1, [x10, x9, lsl #3]
	bl	_ReadDir
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x4, [x0]
	ldrb	w8, [x4]
	cmp	w8, #46
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x20]
	ldr	x3, [x8, x9, lsl #3]
	mov	x0, x26
	mov	x1, x27
	mov	x2, x22
	bl	_snprintf
	sub	x1, x29, #96
	mov	x0, x26
	bl	_stat
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x19]
	bl	_errcode_for_file_access
	mov	x0, x25
	mov	x1, x26
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	w0, [x29, #-96]
	bl	_S_ISDIR
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldrsw	x9, [x23]
	sub	x9, x9, #1
	cmp	x8, x9
	b.lo	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x19]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg_internal
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	ldr	x8, [x20]
	b	LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #32]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	bl	_FreeDir
	ldp	x9, x8, [x20]
	ldr	x0, [x8, x9, lsl #3]
	bl	_pfree
	ldr	x8, [x20]
	sub	x8, x8, #1
	str	x8, [x20]
	mov	sp, x24
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x20, #16]
	add	x0, x26, x8
	mov	x1, #0
	mov	x2, x21
	mov	w3, #1
	bl	_tzload
	cbnz	x0, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	bl	_pg_tz_acceptable
	cbz	w0, LBB0_2
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x19]
	bl	_errcode_for_file_access
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x26
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	mov	sp, x24
	b	LBB0_3
LBB0_14:
	ldp	w8, w0, [x20, #16]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x1, x26, x8
	mov	w2, #4
	bl	_strlcpy
	ldur	x8, [x29, #-88]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	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_16:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"could not stat \"%s\": %m"

	.comm	_MAX_TZDIR_DEPTH,4,2            ; @MAX_TZDIR_DEPTH
l_.str.2:                               ; @.str.2
	.asciz	"timezone directory stack overflow"

l_.str.3:                               ; @.str.3
	.asciz	"could not open directory \"%s\": %m"

.subsections_via_symbols
