	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_gpio_pin_ic_probe
_lpc18xx_gpio_pin_ic_probe:             ## @lpc18xx_gpio_pin_ic_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, %r15
	movq	8(%rdi), %r13
	movl	(%r13), %edi
	callq	_of_irq_find_parent
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_irq_find_host
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_of_node_put
	testq	%r12, %r12
	je	LBB0_7
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r14
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_of_property_match_string
	testl	%eax, %eax
	js	LBB0_10
## %bb.4:
	movl	(%r13), %edi
	leaq	-48(%rbp), %rdx
	movl	%eax, %esi
	callq	_of_address_to_resource
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_devm_ioremap_resource
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movl	(%r14), %edi
	callq	_PTR_ERR
LBB0_11:
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_7:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_devm_kfree
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_raw_spin_lock_init
	movq	_NR_LPC18XX_GPIO_PIN_IC_IRQS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	_lpc18xx_gpio_pin_ic_domain_ops@GOTPCREL(%rip), %r8
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r14, %r9
	callq	_irq_domain_add_hierarchy
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	%r14, (%r15)
	jmp	LBB0_13
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_devm_iounmap
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reg-names"

L_.str.1:                               ## @.str.1
	.asciz	"gpio-pin-ic"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NR_LPC18XX_GPIO_PIN_IC_IRQS,4,2 ## @NR_LPC18XX_GPIO_PIN_IC_IRQS
	.comm	_lpc18xx_gpio_pin_ic_domain_ops,4,2 ## @lpc18xx_gpio_pin_ic_domain_ops
L_.str.2:                               ## @.str.2
	.asciz	"unable to add irq domain\n"

	.no_dead_strip	_lpc18xx_gpio_pin_ic_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc18xx_gpio_pin_ic_probe
_lpc18xx_gpio_pin_ic_probe:             ; @lpc18xx_gpio_pin_ic_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	x21, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x19]
	bl	_of_irq_find_parent
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	bl	_irq_find_host
	mov	x22, x0
	mov	x0, x20
	bl	_of_node_put
	cbz	x22, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #12
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_of_property_match_string
	tbnz	w0, #31, LBB0_11
; %bb.4:
	mov	x1, x0
	ldr	w0, [x19]
	add	x2, sp, #8
	bl	_of_address_to_resource
	tbnz	w0, #31, LBB0_7
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.6:
	ldr	w0, [x20]
	bl	_PTR_ERR
LBB0_7:
	mov	x23, x0
	b	LBB0_12
LBB0_8:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_13
LBB0_10:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_11:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_devm_kfree
LBB0_13:
	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_14:
	add	x0, x20, #8
	bl	_raw_spin_lock_init
Lloh14:
	adrp	x8, _NR_LPC18XX_GPIO_PIN_IC_IRQS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NR_LPC18XX_GPIO_PIN_IC_IRQS@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	w3, [x19]
Lloh17:
	adrp	x4, _lpc18xx_gpio_pin_ic_domain_ops@GOTPAGE
Lloh18:
	ldr	x4, [x4, _lpc18xx_gpio_pin_ic_domain_ops@GOTPAGEOFF]
	mov	x0, x22
	mov	w1, #0
	mov	x5, x20
	bl	_irq_domain_add_hierarchy
	str	w0, [x20, #4]
	cbz	w0, LBB0_16
; %bb.15:
	mov	w23, #0
	str	x20, [x21]
	b	LBB0_13
LBB0_16:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
Lloh21:
	adrp	x8, _ENODEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_devm_iounmap
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reg-names"

l_.str.1:                               ; @.str.1
	.asciz	"gpio-pin-ic"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NR_LPC18XX_GPIO_PIN_IC_IRQS,4,2 ; @NR_LPC18XX_GPIO_PIN_IC_IRQS
	.comm	_lpc18xx_gpio_pin_ic_domain_ops,4,2 ; @lpc18xx_gpio_pin_ic_domain_ops
l_.str.2:                               ; @.str.2
	.asciz	"unable to add irq domain\n"

	.no_dead_strip	_lpc18xx_gpio_pin_ic_probe
.subsections_via_symbols
