	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_conduit
_set_conduit:                           ## @set_conduit
	.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
	movl	%edi, %ebx
	cmpl	$128, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_5
## %bb.2:
	movq	___invoke_psci_fn_hvc@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	___invoke_psci_fn_smc@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_invoke_psci_fn@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	callq	_WARN
LBB0_6:
	movq	_psci_ops@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___invoke_psci_fn_hvc,4,2       ## @__invoke_psci_fn_hvc
	.comm	_invoke_psci_fn,4,2             ## @invoke_psci_fn
	.comm	___invoke_psci_fn_smc,4,2       ## @__invoke_psci_fn_smc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected PSCI conduit %d\n"

	.comm	_psci_ops,4,2                   ## @psci_ops
	.no_dead_strip	_set_conduit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_conduit
_set_conduit:                           ; @set_conduit
	.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
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, ___invoke_psci_fn_hvc@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___invoke_psci_fn_hvc@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, ___invoke_psci_fn_smc@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___invoke_psci_fn_smc@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _invoke_psci_fn@GOTPAGE
Lloh5:
	ldr	x9, [x9, _invoke_psci_fn@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_WARN
LBB0_6:
Lloh9:
	adrp	x8, _psci_ops@GOTPAGE
Lloh10:
	ldr	x8, [x8, _psci_ops@GOTPAGEOFF]
Lloh11:
	str	w19, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	___invoke_psci_fn_hvc,4,2       ; @__invoke_psci_fn_hvc
	.comm	_invoke_psci_fn,4,2             ; @invoke_psci_fn
	.comm	___invoke_psci_fn_smc,4,2       ; @__invoke_psci_fn_smc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected PSCI conduit %d\n"

	.comm	_psci_ops,4,2                   ; @psci_ops
	.no_dead_strip	_set_conduit
.subsections_via_symbols
