	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_irq
_setup_irq:                             ## @setup_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
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_intr_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_enable_intr
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EDAC_MC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_edac_printk
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %ebx
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EDAC_MC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_edac_printk
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.comm	_EDAC_MC,4,2                    ## @EDAC_MC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No IRQ %d in DT\n"

	.comm	_intr_handler,4,2               ## @intr_handler
L_.str.1:                               ## @.str.1
	.asciz	"Failed to request IRQ\n"

	.no_dead_strip	_setup_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_irq
_setup_irq:                             ; @setup_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x21, x0
	ldr	x20, [x0]
	mov	x0, x1
	mov	w1, #0
	bl	_platform_get_irq
	mov	x19, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _intr_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _intr_handler@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_dev_name
	mov	x4, x0
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	w3, #0
	mov	x5, x21
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_enable_intr
	mov	w19, #0
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EDAC_MC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDAC_MC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	str	x19, [sp]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x19, x0
Lloh11:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _EDAC_MC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EDAC_MC@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
	bl	_edac_printk
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.comm	_EDAC_MC,4,2                    ; @EDAC_MC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No IRQ %d in DT\n"

	.comm	_intr_handler,4,2               ; @intr_handler
l_.str.1:                               ; @.str.1
	.asciz	"Failed to request IRQ\n"

	.no_dead_strip	_setup_irq
.subsections_via_symbols
