	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function byt_pinctrl_probe
_byt_pinctrl_probe:                     ## @byt_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_ACPI_COMPANION
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_device_get_match_data
	movq	%rax, %r14
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r14,%rbx,8), %rax
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_1
LBB0_7:
	movl	%ebx, %eax
	movq	(%r14,%rax,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.8:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r14
	movq	%r15, 32(%rax)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_byt_set_soc_data
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_15
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movq	%r14, %rbx
	addq	$8, %rbx
	movq	_byt_pinctrl_desc@GOTPCREL(%rip), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 16(%r14)
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%r15, %rdi
	callq	_dev_name
	movl	%eax, 16(%r14)
	movq	24(%r14), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 12(%r14)
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	4(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_13:
	movq	%r14, %rdi
	callq	_raw_spin_lock_init
	movq	%r14, %rdi
	callq	_byt_gpio_probe
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r15, %rdi
	callq	_pm_runtime_enable
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set soc data\n"

	.comm	_byt_pinctrl_desc,12,2          ## @byt_pinctrl_desc
L_.str.1:                               ## @.str.1
	.asciz	"failed to register pinctrl driver\n"

	.no_dead_strip	_byt_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function byt_pinctrl_probe
_byt_pinctrl_probe:                     ; @byt_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	x19, x0
	bl	_ACPI_COMPANION
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_device_get_match_data
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x21, x0
	mov	x22, #0
	add	x23, x0, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23, x22, lsl #3]
	add	x22, x22, #1
	cbnz	x8, LBB0_3
	b	LBB0_9
LBB0_5:
	ldr	x21, [x21, w22, uxtw #3]
	cbz	x21, LBB0_9
; %bb.6:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.7:
	mov	x20, x0
	str	x19, [x0, #32]
	mov	x1, x21
	bl	_byt_set_soc_data
	cbz	w0, LBB0_13
; %bb.8:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_9:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	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
LBB0_12:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_13:
Lloh9:
	adrp	x8, _byt_pinctrl_desc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _byt_pinctrl_desc@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	str	w9, [x20, #16]
	ldr	x8, [x8]
	mov	x21, x20
	str	x8, [x21, #8]!
	mov	x0, x19
	bl	_dev_name
	str	w0, [x20, #16]
	ldr	x8, [x20, #24]
	ldr	d0, [x8]
	str	d0, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.14:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #4]
	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_15:
	mov	x0, x20
	bl	_raw_spin_lock_init
	mov	x0, x20
	bl	_byt_gpio_probe
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_enable
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set soc data\n"

	.comm	_byt_pinctrl_desc,12,2          ; @byt_pinctrl_desc
l_.str.1:                               ; @.str.1
	.asciz	"failed to register pinctrl driver\n"

	.no_dead_strip	_byt_pinctrl_probe
.subsections_via_symbols
