	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function provider_init
_provider_init:                         ## @provider_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_jit_enabled@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_provider_failed_loading@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jne	LBB0_6
## %bb.2:
	movq	_provider_successfully_loaded@GOTPCREL(%rip), %r13
	movl	$1, %r15d
	cmpl	$0, (%r13)
	jne	LBB0_6
## %bb.3:
	movq	_pkglib_path@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_jit_provider@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_DLSUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	movq	_DEBUG1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_elog
	movq	%r14, %rdi
	callq	_file_exists
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	$1, (%r12)
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %r15d
	movq	%r14, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_load_external_function
	movq	_provider@GOTPCREL(%rip), %rdi
	callq	*%rax
	movl	$1, (%r13)
	movl	$0, (%r12)
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movl	$1, (%r12)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_jit_enabled,4,2                ## @jit_enabled
	.comm	_provider_failed_loading,4,2    ## @provider_failed_loading
	.comm	_provider_successfully_loaded,4,2 ## @provider_successfully_loaded
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s%s"

	.comm	_pkglib_path,8,3                ## @pkglib_path
	.comm	_jit_provider,8,3               ## @jit_provider
	.comm	_DLSUFFIX,4,2                   ## @DLSUFFIX
	.comm	_DEBUG1,4,2                     ## @DEBUG1
L_.str.1:                               ## @.str.1
	.asciz	"probing availability of JIT provider at %s"

L_.str.2:                               ## @.str.2
	.asciz	"provider not available, disabling JIT for current session"

L_.str.3:                               ## @.str.3
	.asciz	"_PG_jit_provider_init"

	.comm	_provider,4,2                   ## @provider
L_.str.4:                               ## @.str.4
	.asciz	"successfully loaded JIT provider in current session"

	.no_dead_strip	_provider_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function provider_init
_provider_init:                         ; @provider_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x8, _jit_enabled@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jit_enabled@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x21, _provider_failed_loading@GOTPAGE
Lloh12:
	ldr	x21, [x21, _provider_failed_loading@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_7
LBB0_2:
Lloh13:
	adrp	x22, _provider_successfully_loaded@GOTPAGE
Lloh14:
	ldr	x22, [x22, _provider_successfully_loaded@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w20, #1
	b	LBB0_7
LBB0_4:
Lloh15:
	adrp	x8, _pkglib_path@GOTPAGE
Lloh16:
	ldr	x8, [x8, _pkglib_path@GOTPAGEOFF]
Lloh17:
	ldr	x3, [x8]
Lloh18:
	adrp	x8, _jit_provider@GOTPAGE
Lloh19:
	ldr	x8, [x8, _jit_provider@GOTPAGEOFF]
Lloh20:
	ldr	x4, [x8]
Lloh21:
	adrp	x8, _DLSUFFIX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DLSUFFIX@GOTPAGEOFF]
Lloh23:
	ldr	w5, [x8]
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snprintf
Lloh26:
	adrp	x23, _DEBUG1@GOTPAGE
Lloh27:
	ldr	x23, [x23, _DEBUG1@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x19, [sp, #-16]!
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	add	sp, sp, #16
	mov	x0, x19
	bl	_file_exists
	cbz	w0, LBB0_6
; %bb.5:
	mov	w20, #1
	str	w20, [x21]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	mov	x3, #0
	bl	_load_external_function
	mov	x8, x0
Lloh32:
	adrp	x0, _provider@GOTPAGE
Lloh33:
	ldr	x0, [x0, _provider@GOTPAGEOFF]
	blr	x8
	str	w20, [x22]
	str	wzr, [x21]
	ldr	w0, [x23]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_elog
	b	LBB0_7
LBB0_6:
	ldr	w0, [x23]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
	mov	w20, #0
	mov	w8, #1
	str	w8, [x21]
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_jit_enabled,4,2                ; @jit_enabled
	.comm	_provider_failed_loading,4,2    ; @provider_failed_loading
	.comm	_provider_successfully_loaded,4,2 ; @provider_successfully_loaded
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s%s"

	.comm	_pkglib_path,8,3                ; @pkglib_path
	.comm	_jit_provider,8,3               ; @jit_provider
	.comm	_DLSUFFIX,4,2                   ; @DLSUFFIX
	.comm	_DEBUG1,4,2                     ; @DEBUG1
l_.str.1:                               ; @.str.1
	.asciz	"probing availability of JIT provider at %s"

l_.str.2:                               ; @.str.2
	.asciz	"provider not available, disabling JIT for current session"

l_.str.3:                               ; @.str.3
	.asciz	"_PG_jit_provider_init"

	.comm	_provider,4,2                   ; @provider
l_.str.4:                               ; @.str.4
	.asciz	"successfully loaded JIT provider in current session"

	.no_dead_strip	_provider_init
.subsections_via_symbols
