	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_softing_enable_irq             ## -- Begin function softing_enable_irq
	.p2align	4, 0x90
_softing_enable_irq:                    ## @softing_enable_irq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rdi), %r15d
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%esi, %esi
	jne	LBB0_4
## %bb.2:
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movl	$0, (%rbx)
	jmp	LBB0_12
LBB0_4:
	testl	%esi, %esi
	je	LBB0_12
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	cmpl	$2, (%rax)
	jl	LBB0_7
## %bb.8:
	movq	_softing_irq_v2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_softing_irq_v1@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_softing_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_dev_name
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r15d
	movq	8(%rbx), %rdi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_alert
	movl	%r15d, %r14d
	jmp	LBB0_12
LBB0_11:
	movl	$1, (%rbx)
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_softing_irq_v2,4,2             ## @softing_irq_v2
	.comm	_softing_irq_v1,4,2             ## @softing_irq_v1
	.comm	_softing_irq_thread,4,2         ## @softing_irq_thread
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request_threaded_irq(%u) failed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_softing_enable_irq             ; -- Begin function softing_enable_irq
	.p2align	2
_softing_enable_irq:                    ; @softing_enable_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w20, [x0, #4]
	cbz	w20, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbnz	w1, LBB0_5
; %bb.2:
	cbz	w8, LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_free_irq
	mov	w21, #0
	str	wzr, [x19]
	b	LBB0_10
LBB0_4:
	mov	w21, #0
	b	LBB0_10
LBB0_5:
	mov	w21, #0
	cbz	w1, LBB0_10
; %bb.6:
	cbnz	w8, LBB0_10
; %bb.7:
Lloh0:
	adrp	x8, _softing_irq_v2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _softing_irq_v2@GOTPAGEOFF]
	ldp	x0, x9, [x19, #8]
	ldr	w9, [x9]
Lloh2:
	adrp	x10, _softing_irq_v1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _softing_irq_v1@GOTPAGEOFF]
	cmp	w9, #1
	csel	x8, x8, x10, gt
	ldr	w21, [x8]
Lloh4:
	adrp	x8, _softing_irq_thread@GOTPAGE
Lloh5:
	ldr	x8, [x8, _softing_irq_thread@GOTPAGEOFF]
Lloh6:
	ldr	w22, [x8]
Lloh7:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh9:
	ldr	w23, [x8]
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x5, x19
	bl	_request_threaded_irq
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x0, [x19, #8]
	ldr	w2, [x19, #4]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_alert
	b	LBB0_10
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_softing_irq_v2,4,2             ; @softing_irq_v2
	.comm	_softing_irq_v1,4,2             ; @softing_irq_v1
	.comm	_softing_irq_thread,4,2         ; @softing_irq_thread
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request_threaded_irq(%u) failed\n"

.subsections_via_symbols
