	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_irqs
_setup_irqs:                            ## @setup_irqs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_platform_get_irq_byname
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_abx500_temp_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, (%rsp)
	leaq	L_.str.2(%rip), %r9
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_devm_request_threaded_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ABX500_TEMP_WARM"

L_.str.1:                               ## @.str.1
	.asciz	"Get irq by name failed\n"

	.comm	_abx500_temp_irq_handler,4,2    ## @abx500_temp_irq_handler
L_.str.2:                               ## @.str.2
	.asciz	"abx500-temp"

L_.str.3:                               ## @.str.3
	.asciz	"Request threaded irq failed (%d)\n"

	.no_dead_strip	_setup_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_irqs
_setup_irqs:                            ; @setup_irqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_platform_get_irq_byname
	mov	x19, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _abx500_temp_irq_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _abx500_temp_irq_handler@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x5, l_.str.2@PAGE
Lloh6:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	w4, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	mov	x19, x0
	tbz	w0, #31, LBB0_5
; %bb.2:
	str	x19, [sp]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_dev_err
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ABX500_TEMP_WARM"

l_.str.1:                               ; @.str.1
	.asciz	"Get irq by name failed\n"

	.comm	_abx500_temp_irq_handler,4,2    ; @abx500_temp_irq_handler
l_.str.2:                               ; @.str.2
	.asciz	"abx500-temp"

l_.str.3:                               ; @.str.3
	.asciz	"Request threaded irq failed (%d)\n"

	.no_dead_strip	_setup_irqs
.subsections_via_symbols
