	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sa11xx_drv_pcmcia_probe        ## -- Begin function sa11xx_drv_pcmcia_probe
	.p2align	4, 0x90
_sa11xx_drv_pcmcia_probe:               ## @sa11xx_drv_pcmcia_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_sa11xx_drv_pcmcia_ops
	movl	%r13d, %edi
	callq	_SKT_DEV_INFO_SIZE
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, (%rax)
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.4:
	movl	%ebx, %ecx
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	$-16, %r12
	movq	$-1, %r13
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	leaq	(%rax,%r12), %rbx
	addq	$16, %rbx
	movl	%ecx, 16(%rax,%r12)
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 24(%rax,%r12)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ecx, %r14d
	callq	_soc_pcmcia_init_one
	movq	%rbx, %rdi
	callq	_sa11xx_drv_pcmcia_add_one
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %r12
	incl	%r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, %rax
	decq	%rax
	decq	%r13
	cmpq	$-1, %rax
	movl	%r14d, %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_5
LBB0_10:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_dev_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_6:
	movl	%eax, %ebx
	cmpl	$-1, %r13d
	je	LBB0_11
## %bb.7:
	negq	%r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%r12, %rdi
	callq	_soc_pcmcia_remove_one
	decq	%r13
	addq	$-16, %r12
	cmpq	$1, %r13
	jg	LBB0_8
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sa11xx_drv_pcmcia_probe        ; -- Begin function sa11xx_drv_pcmcia_probe
	.p2align	2
_sa11xx_drv_pcmcia_probe:               ; @sa11xx_drv_pcmcia_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x1, #0
	bl	_devm_clk_get
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	mov	x0, x20
	bl	_sa11xx_drv_pcmcia_ops
	mov	x0, x24
	bl	_SKT_DEV_INFO_SIZE
	mov	x1, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	str	w24, [x0]
	cmp	w24, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x26, #0
	mov	x25, #0
	mov	w8, w24
	mov	w24, w23
	lsl	x27, x8, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x23, x8, x26
	add	w8, w24, w25
	str	w8, [x23]
	str	x22, [x23, #8]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_soc_pcmcia_init_one
	mov	x0, x23
	bl	_sa11xx_drv_pcmcia_add_one
	cbnz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	add	x26, x26, #16
	cmp	x27, x26
	b.ne	LBB0_5
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_dev_set_drvdata
	mov	w23, #0
	b	LBB0_12
LBB0_8:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_12
LBB0_9:
	mov	x23, x0
	cbz	w25, LBB0_12
; %bb.10:
	sub	x19, x26, #16
	add	x20, x25, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x0, x8, x19
	bl	_soc_pcmcia_remove_one
	sub	x20, x20, #1
	sub	x19, x19, #16
	cmp	x20, #1
	b.gt	LBB0_11
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
