	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_msgmgr_queue_rx_irq_req
_ti_msgmgr_queue_rx_irq_req:            ## @ti_msgmgr_queue_rx_irq_req
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	xorl	%eax, %eax
	cmpq	$0, (%rsi)
	sete	%al
	movl	(%rdx,%rax,4), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-39(%rbp), %rdi
	movl	$7, %esi
	callq	_snprintf
	movl	8(%r12), %r9d
	testl	%r9d, %r9d
	js	LBB0_1
LBB0_5:
	movq	_ti_msgmgr_queue_rx_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%r12), %ecx
	movl	%r9d, %edi
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movl	8(%r12), %edx
	movl	12(%r12), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_1:
	movl	(%r14), %edi
	callq	_of_node_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	leaq	-39(%rbp), %rsi
	movq	%rax, %rdi
	callq	_of_irq_get_byname
	movl	%eax, 8(%r12)
	movq	%rbx, %rdi
	callq	_of_node_put
	movl	8(%r12), %r9d
	testl	%r9d, %r9d
	jns	LBB0_5
## %bb.4:
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	-39(%rbp), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	8(%r12), %ebx
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_2:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx_%03d"

	.comm	_ENODATA,4,2                    ## @ENODATA
L_.str.1:                               ## @.str.1
	.asciz	"QID %d PID %d:No IRQ[%s]: %d\n"

	.comm	_ti_msgmgr_queue_rx_interrupt,4,2 ## @ti_msgmgr_queue_rx_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.2:                               ## @.str.2
	.asciz	"Unable to get IRQ %d on %s(res=%d)\n"

	.no_dead_strip	_ti_msgmgr_queue_rx_irq_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_msgmgr_queue_rx_irq_req
_ti_msgmgr_queue_rx_irq_req:            ; @ti_msgmgr_queue_rx_irq_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x1]
	cmp	x8, #0
	cset	w8, eq
	ldr	w3, [x2, w8, uxtw #2]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #25
	mov	w1, #7
	bl	_snprintf
	ldr	w0, [x19, #8]
	tbnz	w0, #31, LBB0_3
LBB0_1:
Lloh2:
	adrp	x8, _ti_msgmgr_queue_rx_interrupt@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ti_msgmgr_queue_rx_interrupt@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w3, [x19, #12]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x4, x21
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.2:
	ldp	w2, w3, [x19, #8]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_7
LBB0_3:
	ldr	w0, [x20]
	bl	_of_node_get
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
	add	x23, sp, #25
	add	x1, sp, #25
	bl	_of_irq_get_byname
	str	w0, [x19, #8]
	mov	x0, x22
	bl	_of_node_put
	ldr	w0, [x19, #8]
	tbz	w0, #31, LBB0_1
; %bb.5:
	ldp	w3, w2, [x19]
	stp	x23, x0, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w21, [x19, #8]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENODATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx_%03d"

	.comm	_ENODATA,4,2                    ; @ENODATA
l_.str.1:                               ; @.str.1
	.asciz	"QID %d PID %d:No IRQ[%s]: %d\n"

	.comm	_ti_msgmgr_queue_rx_interrupt,4,2 ; @ti_msgmgr_queue_rx_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.2:                               ; @.str.2
	.asciz	"Unable to get IRQ %d on %s(res=%d)\n"

	.no_dead_strip	_ti_msgmgr_queue_rx_irq_req
.subsections_via_symbols
