	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function samsung_pinctrl_probe
_samsung_pinctrl_probe:                 ## @samsung_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_samsung_pinctrl_get_soc_data
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r15, %rdi
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, 16(%r12)
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
LBB0_6:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.7:
	movq	%r12, %rdi
	callq	*(%rsi)
	movq	%rax, (%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	(%r12), %rdi
	jmp	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_samsung_pinctrl_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_samsung_gpiolib_register
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_samsung_pinctrl_unregister
	jmp	LBB0_18
LBB0_13:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	*%rax
LBB0_15:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	callq	*%rax
LBB0_17:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.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	"driver data not available\n"

	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
	.no_dead_strip	_samsung_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function samsung_pinctrl_probe
_samsung_pinctrl_probe:                 ; @samsung_pinctrl_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x1, x19
	bl	_samsung_pinctrl_get_soc_data
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x21
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	str	x19, [x20, #16]
Lloh8:
	adrp	x8, _IORESOURCE_IRQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x0]
	str	w8, [x20, #8]
LBB0_8:
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_11
; %bb.9:
	ldr	x8, [x1]
	mov	x0, x20
	blr	x8
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x20]
	b	LBB0_3
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_samsung_pinctrl_register
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	bl	_samsung_gpiolib_register
	cbz	w0, LBB0_14
; %bb.13:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_samsung_pinctrl_unregister
	b	LBB0_5
LBB0_14:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x20
	blr	x8
LBB0_16:
	ldr	x8, [x21]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x20
	blr	x8
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	w22, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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	"driver data not available\n"

	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
	.no_dead_strip	_samsung_pinctrl_probe
.subsections_via_symbols
