	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function register_python_scripting
_register_python_scripting:             ## @register_python_scripting
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_script_spec_register
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_script_spec_register
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	callq	_die
LBB0_4:
	movl	$4, %edi
	callq	_malloc
	movq	_scripting_context@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Python"

L_.str.1:                               ## @.str.1
	.asciz	"error registering Python script extension"

L_.str.2:                               ## @.str.2
	.asciz	"py"

L_.str.3:                               ## @.str.3
	.asciz	"error registering py script extension"

	.comm	_scripting_context,4,2          ## @scripting_context
	.no_dead_strip	_register_python_scripting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function register_python_scripting
_register_python_scripting:             ; @register_python_scripting
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_script_spec_register
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_2:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_script_spec_register
	cbz	w0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_4:
	mov	w0, #4
	bl	_malloc
Lloh8:
	adrp	x8, _scripting_context@GOTPAGE
Lloh9:
	ldr	x8, [x8, _scripting_context@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Python"

l_.str.1:                               ; @.str.1
	.asciz	"error registering Python script extension"

l_.str.2:                               ; @.str.2
	.asciz	"py"

l_.str.3:                               ; @.str.3
	.asciz	"error registering py script extension"

	.comm	_scripting_context,4,2          ; @scripting_context
	.no_dead_strip	_register_python_scripting
.subsections_via_symbols
