	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idio_24_irq_set_type
_idio_24_irq_set_type:                  ## @idio_24_irq_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_NONE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_IRQ_TYPE_EDGE_BOTH@GOTPCREL(%rip), %rcx
	notl	%esi
	testl	%esi, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_TYPE_NONE,4,2              ## @IRQ_TYPE_NONE
	.comm	_IRQ_TYPE_EDGE_BOTH,4,2         ## @IRQ_TYPE_EDGE_BOTH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_idio_24_irq_set_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idio_24_irq_set_type
_idio_24_irq_set_type:                  ; @idio_24_irq_set_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IRQ_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _IRQ_TYPE_EDGE_BOTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_TYPE_EDGE_BOTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bics	wzr, w8, w1
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_TYPE_NONE,4,2              ; @IRQ_TYPE_NONE
	.comm	_IRQ_TYPE_EDGE_BOTH,4,2         ; @IRQ_TYPE_EDGE_BOTH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_idio_24_irq_set_type
.subsections_via_symbols
