	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspm_ctx_init
_aspm_ctx_init:                         ## @aspm_ctx_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$28, %rdi
	callq	_spin_lock_init
	leaq	24(%rbx), %rdi
	movq	_aspm_ctx_timer_function@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_timer_setup
	movq	16(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.1:
	movq	_aspm_mode@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ASPM_MODE_DYNAMIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rax), %rcx
	setl	%r14b
LBB0_3:
	movl	%r14d, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aspm_ctx_timer_function,4,2    ## @aspm_ctx_timer_function
	.comm	_aspm_mode,8,3                  ## @aspm_mode
	.comm	_ASPM_MODE_DYNAMIC,8,3          ## @ASPM_MODE_DYNAMIC
	.no_dead_strip	_aspm_ctx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspm_ctx_init
_aspm_ctx_init:                         ; @aspm_ctx_init
	.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
	add	x0, x0, #28
	bl	_spin_lock_init
	add	x0, x19, #24
Lloh0:
	adrp	x8, _aspm_ctx_timer_function@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aspm_ctx_timer_function@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _aspm_mode@GOTPAGE
Lloh4:
	ldr	x9, [x9, _aspm_mode@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ASPM_MODE_DYNAMIC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ASPM_MODE_DYNAMIC@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w8, lt
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_aspm_ctx_timer_function,4,2    ; @aspm_ctx_timer_function
	.comm	_aspm_mode,8,3                  ; @aspm_mode
	.comm	_ASPM_MODE_DYNAMIC,8,3          ; @ASPM_MODE_DYNAMIC
	.no_dead_strip	_aspm_ctx_init
.subsections_via_symbols
