	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_owl_pinctrl_probe              ## -- Begin function owl_pinctrl_probe
	.p2align	4, 0x90
_owl_pinctrl_probe:                     ## @owl_pinctrl_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	%rsi, %r15
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 68(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	68(%r14), %edi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	16(%r14), %edi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movl	16(%r14), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_21
LBB0_9:
	movq	%r14, %rdi
	addq	$64, %rdi
	callq	_raw_spin_lock_init
	movq	%r12, %rdi
	callq	_dev_name
	movq	_owl_pinctrl_desc@GOTPCREL(%rip), %rsi
	movl	%eax, 8(%rsi)
	movl	4(%r15), %eax
	movl	%eax, 4(%rsi)
	movl	(%r15), %eax
	movl	%eax, (%rsi)
	movq	_owl_gpio_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_owl_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_owl_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_owl_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_owl_gpio_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_owl_gpio_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	%r15, 32(%r14)
	movq	%r12, 24(%r14)
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 20(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	20(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_20:
	movl	16(%r14), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_21
LBB0_11:
	movq	%r12, %rdi
	callq	_platform_irq_count
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_20
## %bb.12:
	movl	%ebx, (%r14)
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	cmpl	$0, (%r14)
	jle	LBB0_17
## %bb.14:
	xorl	%r15d, %r15d
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r14), %rax
	movl	%ebx, (%rax,%r15,4)
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_15
LBB0_17:
	movq	%r14, %rdi
	callq	_owl_gpio_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no clock defined\n"

L_.str.1:                               ## @.str.1
	.asciz	"clk enable failed\n"

	.comm	_owl_pinctrl_desc,12,2          ## @owl_pinctrl_desc
	.comm	_owl_gpio_direction_input,4,2   ## @owl_gpio_direction_input
	.comm	_owl_gpio_direction_output,4,2  ## @owl_gpio_direction_output
	.comm	_owl_gpio_get,4,2               ## @owl_gpio_get
	.comm	_owl_gpio_set,4,2               ## @owl_gpio_set
	.comm	_owl_gpio_request,4,2           ## @owl_gpio_request
	.comm	_owl_gpio_free,4,2              ## @owl_gpio_free
L_.str.2:                               ## @.str.2
	.asciz	"could not register Actions OWL pinmux driver\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_owl_pinctrl_probe              ; -- Begin function owl_pinctrl_probe
	.p2align	2
_owl_pinctrl_probe:                     ; @owl_pinctrl_probe
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #68]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x19, #68]
	b	LBB0_7
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_4:
	mov	x0, x22
	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
LBB0_5:
	mov	x0, x20
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #16]
LBB0_7:
	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	_PTR_ERR
LBB0_8:
	ldr	w0, [x19, #16]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_10
; %bb.9:
	mov	x22, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_4
LBB0_10:
	add	x0, x19, #64
	bl	_raw_spin_lock_init
	mov	x0, x20
	bl	_dev_name
Lloh12:
	adrp	x1, _owl_pinctrl_desc@GOTPAGE
Lloh13:
	ldr	x1, [x1, _owl_pinctrl_desc@GOTPAGEOFF]
	str	w0, [x1, #8]
	ldr	d0, [x21]
	str	d0, [x1]
Lloh14:
	adrp	x8, _owl_gpio_direction_input@GOTPAGE
Lloh15:
	ldr	x8, [x8, _owl_gpio_direction_input@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _owl_gpio_direction_output@GOTPAGE
Lloh18:
	ldr	x9, [x9, _owl_gpio_direction_output@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
Lloh20:
	adrp	x8, _owl_gpio_get@GOTPAGE
Lloh21:
	ldr	x8, [x8, _owl_gpio_get@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _owl_gpio_set@GOTPAGE
Lloh24:
	ldr	x9, [x9, _owl_gpio_set@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh26:
	adrp	x8, _owl_gpio_request@GOTPAGE
Lloh27:
	ldr	x8, [x8, _owl_gpio_request@GOTPAGEOFF]
Lloh28:
	adrp	x9, _owl_gpio_free@GOTPAGE
Lloh29:
	ldr	x9, [x9, _owl_gpio_free@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	stp	x20, x21, [x19, #24]
	mov	x0, x20
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	w0, [x19, #20]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.11:
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #20]
	bl	_PTR_ERR
	mov	x22, x0
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_clk_disable_unprepare
	b	LBB0_4
LBB0_13:
	mov	x0, x20
	bl	_platform_irq_count
	mov	x22, x0
	tbnz	w0, #31, LBB0_12
; %bb.14:
	str	w22, [x19]
	ldr	w3, [x23]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_21
; %bb.15:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.16:
	mov	x21, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x19, #8]
	str	w22, [x8, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_17
LBB0_19:
	mov	x0, x19
	bl	_owl_gpio_init
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.20:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	b	LBB0_4
LBB0_21:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no clock defined\n"

l_.str.1:                               ; @.str.1
	.asciz	"clk enable failed\n"

	.comm	_owl_pinctrl_desc,12,2          ; @owl_pinctrl_desc
	.comm	_owl_gpio_direction_input,4,2   ; @owl_gpio_direction_input
	.comm	_owl_gpio_direction_output,4,2  ; @owl_gpio_direction_output
	.comm	_owl_gpio_get,4,2               ; @owl_gpio_get
	.comm	_owl_gpio_set,4,2               ; @owl_gpio_set
	.comm	_owl_gpio_request,4,2           ; @owl_gpio_request
	.comm	_owl_gpio_free,4,2              ; @owl_gpio_free
l_.str.2:                               ; @.str.2
	.asciz	"could not register Actions OWL pinmux driver\n"

.subsections_via_symbols
