	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_sci_intr_irq_domain_alloc
_ti_sci_intr_irq_domain_alloc:          ## @ti_sci_intr_irq_domain_alloc
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rcx
	callq	_ti_sci_intr_irq_domain_translate
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ti_sci_intr_alloc_gic_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rdx
	movq	_ti_sci_intr_irq_chip@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	callq	_irq_domain_set_hwirq_and_chip
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ti_sci_intr_irq_chip,4,2       ## @ti_sci_intr_irq_chip
	.no_dead_strip	_ti_sci_intr_irq_domain_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_sci_intr_irq_domain_alloc
_ti_sci_intr_irq_domain_alloc:          ; @ti_sci_intr_irq_domain_alloc
	.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	x8, x3
	mov	x19, x1
	mov	x20, x0
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x1, x8
	bl	_ti_sci_intr_irq_domain_translate
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_ti_sci_intr_alloc_gic_irq
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x2, [sp, #8]
Lloh0:
	adrp	x3, _ti_sci_intr_irq_chip@GOTPAGE
Lloh1:
	ldr	x3, [x3, _ti_sci_intr_irq_chip@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	mov	x4, #0
	bl	_irq_domain_set_hwirq_and_chip
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ti_sci_intr_irq_chip,4,2       ; @ti_sci_intr_irq_chip
	.no_dead_strip	_ti_sci_intr_irq_domain_alloc
.subsections_via_symbols
