	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvebu_sei_ap_set_type
_mvebu_sei_ap_set_type:                 ## @mvebu_sei_ap_set_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IRQ_TYPE_SENSE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_IRQ_TYPE_LEVEL_HIGH@GOTPCREL(%rip), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	subl	(%rdx), %eax
	cmpl	(%rcx), %esi
	cmovel	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_TYPE_SENSE_MASK,4,2        ## @IRQ_TYPE_SENSE_MASK
	.comm	_IRQ_TYPE_LEVEL_HIGH,4,2        ## @IRQ_TYPE_LEVEL_HIGH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mvebu_sei_ap_set_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvebu_sei_ap_set_type
_mvebu_sei_ap_set_type:                 ; @mvebu_sei_ap_set_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IRQ_TYPE_SENSE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_TYPE_SENSE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _IRQ_TYPE_LEVEL_HIGH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRQ_TYPE_LEVEL_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _EINVAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w8, w9
	csneg	w0, wzr, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_TYPE_SENSE_MASK,4,2        ; @IRQ_TYPE_SENSE_MASK
	.comm	_IRQ_TYPE_LEVEL_HIGH,4,2        ; @IRQ_TYPE_LEVEL_HIGH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mvebu_sei_ap_set_type
.subsections_via_symbols
