	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_gpio_irq_type_output
_meson_gpio_irq_type_output:            ## @meson_gpio_irq_type_output
	.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
	movl	(%rax), %eax
	movl	%eax, %edx
	andl	%edi, %edx
	movq	_IRQ_TYPE_LEVEL_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IRQ_TYPE_LEVEL_LOW@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%ecx, %esi
	testl	%esi, %edx
	jne	LBB0_2
## %bb.1:
	movq	_IRQ_TYPE_EDGE_RISING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	notl	%eax
	andl	%edi, %eax
	orl	%ecx, %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	_IRQ_TYPE_LEVEL_LOW,4,2         ## @IRQ_TYPE_LEVEL_LOW
	.comm	_IRQ_TYPE_EDGE_RISING,4,2       ## @IRQ_TYPE_EDGE_RISING
	.no_dead_strip	_meson_gpio_irq_type_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_gpio_irq_type_output
_meson_gpio_irq_type_output:            ; @meson_gpio_irq_type_output
	.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	w9, w8, w0
Lloh3:
	adrp	x10, _IRQ_TYPE_LEVEL_HIGH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IRQ_TYPE_LEVEL_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _IRQ_TYPE_LEVEL_LOW@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IRQ_TYPE_LEVEL_LOW@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w11, w11, w10
Lloh9:
	adrp	x12, _IRQ_TYPE_EDGE_RISING@GOTPAGE
Lloh10:
	ldr	x12, [x12, _IRQ_TYPE_EDGE_RISING@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	tst	w9, w11
	csel	w9, w12, w10, eq
	bic	w8, w0, w8
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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	_IRQ_TYPE_LEVEL_LOW,4,2         ; @IRQ_TYPE_LEVEL_LOW
	.comm	_IRQ_TYPE_EDGE_RISING,4,2       ; @IRQ_TYPE_EDGE_RISING
	.no_dead_strip	_meson_gpio_irq_type_output
.subsections_via_symbols
