	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function al_fic_set_trigger
_al_fic_set_trigger:                    ## @al_fic_set_trigger
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_AL_FIC_CONTROL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	_AL_FIC_CONFIGURED_LEVEL@GOTPCREL(%rip), %rcx
	movq	_CONTROL_TRIGGER_RISING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	%edi, %edx
	notl	%edx
	andl	%eax, %edx
	orl	%eax, %edi
	cmpl	%r14d, (%rcx)
	cmovel	%edx, %edi
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	cmoveq	_handle_level_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, (%rbx)
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AL_FIC_CONTROL,8,3             ## @AL_FIC_CONTROL
	.comm	_AL_FIC_CONFIGURED_LEVEL,4,2    ## @AL_FIC_CONFIGURED_LEVEL
	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.comm	_CONTROL_TRIGGER_RISING,4,2     ## @CONTROL_TRIGGER_RISING
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.no_dead_strip	_al_fic_set_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function al_fic_set_trigger
_al_fic_set_trigger:                    ; @al_fic_set_trigger
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x22, _AL_FIC_CONTROL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AL_FIC_CONTROL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl_relaxed
Lloh2:
	adrp	x8, _AL_FIC_CONFIGURED_LEVEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AL_FIC_CONFIGURED_LEVEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CONTROL_TRIGGER_RISING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CONTROL_TRIGGER_RISING@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bic	w10, w0, w9
	orr	w9, w9, w0
	cmp	w8, w19
	csel	w0, w10, w9, eq
Lloh8:
	adrp	x8, _handle_level_irq@GOTPAGE
Lloh9:
	ldr	x8, [x8, _handle_level_irq@GOTPAGEOFF]
Lloh10:
	adrp	x9, _handle_edge_irq@GOTPAGE
Lloh11:
	ldr	x9, [x9, _handle_edge_irq@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9]
	str	w19, [x21]
	ldr	x8, [x21, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AL_FIC_CONTROL,8,3             ; @AL_FIC_CONTROL
	.comm	_AL_FIC_CONFIGURED_LEVEL,4,2    ; @AL_FIC_CONFIGURED_LEVEL
	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.comm	_CONTROL_TRIGGER_RISING,4,2     ; @CONTROL_TRIGGER_RISING
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.no_dead_strip	_al_fic_set_trigger
.subsections_via_symbols
