	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rza1_irqc_probe
_rza1_irqc_probe:                       ## @rza1_irqc_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r12, 48(%rbx)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movl	%eax, 40(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.13:
	movl	40(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_12
LBB0_3:
	movq	%r15, %rdi
	callq	_of_irq_find_parent
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_irq_find_host
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rza1_irqc_parse_map
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_10:
	subl	(%rax), %r13d
LBB0_11:
	movq	%r14, %rdi
	callq	_of_node_put
LBB0_12:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.3(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_irq_chip_mask_parent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_irq_chip_unmask_parent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_rza1_irqc_eoi@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_irq_chip_retrigger_hierarchy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_rza1_irqc_set_type@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_IRQCHIP_MASK_ON_SUSPEND@GOTPCREL(%rip), %rax
	movq	_IRQCHIP_SKIP_SET_WAKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movq	_IRQC_NUM_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_rza1_irqc_domain_ops@GOTPCREL(%rip), %r8
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r15, %rcx
	movq	%rbx, %r9
	callq	_irq_domain_add_hierarchy
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot find parent domain\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"cannot parse %s: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"interrupt-map"

L_.str.3:                               ## @.str.3
	.asciz	"rza1-irqc"

	.comm	_irq_chip_mask_parent,4,2       ## @irq_chip_mask_parent
	.comm	_irq_chip_unmask_parent,4,2     ## @irq_chip_unmask_parent
	.comm	_rza1_irqc_eoi,4,2              ## @rza1_irqc_eoi
	.comm	_irq_chip_retrigger_hierarchy,4,2 ## @irq_chip_retrigger_hierarchy
	.comm	_rza1_irqc_set_type,4,2         ## @rza1_irqc_set_type
	.comm	_IRQCHIP_MASK_ON_SUSPEND,4,2    ## @IRQCHIP_MASK_ON_SUSPEND
	.comm	_IRQCHIP_SKIP_SET_WAKE,4,2      ## @IRQCHIP_SKIP_SET_WAKE
	.comm	_IRQC_NUM_IRQ,4,2               ## @IRQC_NUM_IRQ
	.comm	_rza1_irqc_domain_ops,4,2       ## @rza1_irqc_domain_ops
L_.str.4:                               ## @.str.4
	.asciz	"cannot initialize irq domain\n"

	.no_dead_strip	_rza1_irqc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rza1_irqc_probe
_rza1_irqc_probe:                       ; @rza1_irqc_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_platform_set_drvdata
	str	x19, [x22, #48]
	mov	x0, x19
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	w0, [x22, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x22, #40]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_11
LBB0_4:
	mov	x0, x21
	bl	_of_irq_find_parent
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_irq_find_host
	cbz	x0, LBB0_8
; %bb.6:
	mov	x24, x0
	mov	x0, x22
	mov	x1, x20
	bl	_rza1_irqc_parse_map
	mov	x23, x0
	cbz	w0, LBB0_12
; %bb.7:
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, x23, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_8:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_10:
	mov	x0, x20
	bl	_of_node_put
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
Lloh14:
	adrp	x8, _irq_chip_mask_parent@GOTPAGE
Lloh15:
	ldr	x8, [x8, _irq_chip_mask_parent@GOTPAGEOFF]
Lloh16:
	adrp	x9, l_.str.3@PAGE
Lloh17:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x9, [x22, #8]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _irq_chip_unmask_parent@GOTPAGE
Lloh20:
	ldr	x9, [x9, _irq_chip_unmask_parent@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #32]
Lloh22:
	adrp	x8, _rza1_irqc_eoi@GOTPAGE
Lloh23:
	ldr	x8, [x8, _rza1_irqc_eoi@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _irq_chip_retrigger_hierarchy@GOTPAGE
Lloh26:
	ldr	x9, [x9, _irq_chip_retrigger_hierarchy@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #24]
Lloh28:
	adrp	x8, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _IRQCHIP_SKIP_SET_WAKE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _IRQCHIP_SKIP_SET_WAKE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh34:
	adrp	x9, _rza1_irqc_set_type@GOTPAGE
Lloh35:
	ldr	x9, [x9, _rza1_irqc_set_type@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w8, w9, [x22, #16]
Lloh37:
	adrp	x8, _IRQC_NUM_IRQ@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IRQC_NUM_IRQ@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
Lloh40:
	adrp	x4, _rza1_irqc_domain_ops@GOTPAGE
Lloh41:
	ldr	x4, [x4, _rza1_irqc_domain_ops@GOTPAGEOFF]
	mov	x0, x24
	mov	w1, #0
	mov	x3, x21
	mov	x5, x22
	bl	_irq_domain_add_hierarchy
	str	w0, [x22]
	cbnz	w0, LBB0_10
; %bb.13:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot find parent domain\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"cannot parse %s: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"interrupt-map"

l_.str.3:                               ; @.str.3
	.asciz	"rza1-irqc"

	.comm	_irq_chip_mask_parent,4,2       ; @irq_chip_mask_parent
	.comm	_irq_chip_unmask_parent,4,2     ; @irq_chip_unmask_parent
	.comm	_rza1_irqc_eoi,4,2              ; @rza1_irqc_eoi
	.comm	_irq_chip_retrigger_hierarchy,4,2 ; @irq_chip_retrigger_hierarchy
	.comm	_rza1_irqc_set_type,4,2         ; @rza1_irqc_set_type
	.comm	_IRQCHIP_MASK_ON_SUSPEND,4,2    ; @IRQCHIP_MASK_ON_SUSPEND
	.comm	_IRQCHIP_SKIP_SET_WAKE,4,2      ; @IRQCHIP_SKIP_SET_WAKE
	.comm	_IRQC_NUM_IRQ,4,2               ; @IRQC_NUM_IRQ
	.comm	_rza1_irqc_domain_ops,4,2       ; @rza1_irqc_domain_ops
l_.str.4:                               ; @.str.4
	.asciz	"cannot initialize irq domain\n"

	.no_dead_strip	_rza1_irqc_probe
.subsections_via_symbols
