	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bxtwc_add_chained_irq_chip
_bxtwc_add_chained_irq_chip:            ## @bxtwc_add_chained_irq_chip
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_regmap_irq_get_virq
	movl	%eax, %ebx
	movl	4(%r15), %edi
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movl	(%r15), %esi
	movq	%r12, (%rsp)
	movl	%ebx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_devm_regmap_add_irq_chip
	jmp	LBB0_2
LBB0_1:
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%ebx, %r8d
	callq	_dev_err
	movl	%ebx, %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get parent vIRQ(%d) for chip %s, ret:%d\n"

	.no_dead_strip	_bxtwc_add_chained_irq_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bxtwc_add_chained_irq_chip
_bxtwc_add_chained_irq_chip:            ; @bxtwc_add_chained_irq_chip
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x0
	mov	x0, x1
	mov	x1, x2
	bl	_regmap_irq_get_virq
	mov	x21, x0
	ldr	w0, [x24, #4]
	tbnz	w21, #31, LBB0_2
; %bb.1:
	ldr	w1, [x24]
	mov	x2, x21
	mov	x3, x22
	mov	w4, #0
	mov	x5, x20
	mov	x6, x19
	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
	b	_devm_regmap_add_irq_chip
LBB0_2:
	ldr	w3, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	mov	x4, x21
	bl	_dev_err
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get parent vIRQ(%d) for chip %s, ret:%d\n"

	.no_dead_strip	_bxtwc_add_chained_irq_chip
.subsections_via_symbols
