	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_irq_parse_one               ## -- Begin function of_irq_parse_one
	.p2align	4, 0x90
_of_irq_parse_one:                      ## @of_irq_parse_one
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_of_irq_workarounds@GOTPCREL(%rip), %rax
	movq	_OF_IMAP_OLDWORLD_MAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.14:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_of_irq_parse_oldworld          ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_of_get_property
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	movq	%r12, %r8
	callq	_of_parse_phandle_with_args
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	movq	%r14, %rdi
	callq	_of_irq_find_parent
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rax, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_12
LBB0_15:
	movq	%r15, %rdi
	movq	%r12, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_of_irq_parse_raw               ## TAILCALL
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_13
LBB0_6:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edx
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, 16(%r12)
	movl	-44(%rbp), %edx
	movl	%edx, (%r12)
	testl	%edx, %edx
	jle	LBB0_10
## %bb.7:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r15d
	imull	%ebx, %edx
	addl	%r14d, %edx
	movq	%r12, %rbx
	movq	8(%r12), %rcx
	addq	%r13, %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_of_property_read_u32_index
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movslq	-44(%rbp), %rdx
	addq	$4, %r13
	cmpq	%rdx, %r14
	movq	%rbx, %r12
	movl	%r15d, %ebx
	jl	LBB0_9
LBB0_10:
	movq	8(%r12), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_of_irq_parse_raw
LBB0_11:
	movl	%eax, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_12:
	movq	%r13, %rdi
	callq	_of_node_put
LBB0_13:
	movl	%r12d, %eax
	addq	$40, %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	"of_irq_parse_one: dev=%pOF, index=%d\n"

	.comm	_of_irq_workarounds,4,2         ## @of_irq_workarounds
	.comm	_OF_IMAP_OLDWORLD_MAC,4,2       ## @OF_IMAP_OLDWORLD_MAC
L_.str.1:                               ## @.str.1
	.asciz	"reg"

L_.str.2:                               ## @.str.2
	.asciz	"interrupts-extended"

L_.str.3:                               ## @.str.3
	.asciz	"#interrupt-cells"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	" parent=%pOF, intsize=%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"interrupts"

L_.str.6:                               ## @.str.6
	.asciz	" intspec=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_irq_parse_one               ; -- Begin function of_irq_parse_one
	.p2align	2
_of_irq_parse_one:                      ; @of_irq_parse_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_debug
Lloh2:
	adrp	x8, _of_irq_workarounds@GOTPAGE
Lloh3:
	ldr	x8, [x8, _of_irq_workarounds@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _OF_IMAP_OLDWORLD_MAC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OF_IMAP_OLDWORLD_MAC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_of_irq_parse_oldworld
LBB0_2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, #0
	bl	_of_get_property
	mov	x23, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	mov	x4, x19
	bl	_of_parse_phandle_with_args
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x21
	bl	_of_irq_find_parent
	cbz	x0, LBB0_7
; %bb.4:
	mov	x22, x0
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	bl	_of_property_read_u32
	cbz	x0, LBB0_8
; %bb.5:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_14
LBB0_6:
	mov	x0, x23
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_of_irq_parse_raw
LBB0_7:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_15
LBB0_8:
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x22
	bl	_pr_debug
	str	x22, [x19, #16]
	ldr	w8, [sp, #12]
	str	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x26, #0
	mov	x27, #0
Lloh24:
	adrp	x24, l_.str.5@PAGE
Lloh25:
	add	x24, x24, l_.str.5@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	madd	w2, w8, w20, w27
	ldr	x8, [x19, #8]
	add	x3, x8, x26
	mov	x0, x21
	mov	x1, x24
	bl	_of_property_read_u32_index
	cbnz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [sp, #12]
	add	x26, x26, #4
	cmp	x27, x8
	b.lt	LBB0_10
LBB0_12:
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh26:
	adrp	x0, l_.str.6@PAGE
Lloh27:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
	mov	x0, x23
	mov	x1, x19
	bl	_of_irq_parse_raw
LBB0_13:
	mov	x25, x0
LBB0_14:
	mov	x0, x22
	bl	_of_node_put
LBB0_15:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"of_irq_parse_one: dev=%pOF, index=%d\n"

	.comm	_of_irq_workarounds,4,2         ; @of_irq_workarounds
	.comm	_OF_IMAP_OLDWORLD_MAC,4,2       ; @OF_IMAP_OLDWORLD_MAC
l_.str.1:                               ; @.str.1
	.asciz	"reg"

l_.str.2:                               ; @.str.2
	.asciz	"interrupts-extended"

l_.str.3:                               ; @.str.3
	.asciz	"#interrupt-cells"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	" parent=%pOF, intsize=%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"interrupts"

l_.str.6:                               ; @.str.6
	.asciz	" intspec=%d\n"

.subsections_via_symbols
