	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz8795_spi_probe
_ksz8795_spi_probe:                     ## @ksz8795_spi_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rdi, %rsi
	callq	_ksz_switch_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	movq	_ksz8795_regmap_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	%r15, %r13
	addq	$16, %r13
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ksz8795_regmap_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,4), %rax
	movq	%rax, -56(%rbp)
	movq	%r13, -48(%rbp)
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_devm_regmap_init_spi
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	_ksz8795_regmap_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
LBB0_6:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, (%r15)
LBB0_8:
	movq	%r15, %rdi
	callq	_ksz8795_switch_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_spi_set_drvdata
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_10
LBB0_4:
	movq	8(%r15), %rax
	movl	(%rax,%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	_ksz8795_regmap_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %ecx
	callq	_dev_err
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ksz8795_regmap_config,8,3      ## @ksz8795_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to initialize regmap%i: %d\n"

	.no_dead_strip	_ksz8795_spi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz8795_spi_probe
_ksz8795_spi_probe:                     ; @ksz8795_spi_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	x19, x0
	mov	x1, x0
	bl	_ksz_switch_alloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x22, _ksz8795_regmap_config@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ksz8795_regmap_config@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x23, #0
	mov	x21, #0
	add	x24, x20, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	stp	x8, x24, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_devm_regmap_init_spi
	ldr	x8, [x20, #8]
	str	w0, [x8, x21, lsl #2]
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x21, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	str	x8, [x20]
LBB0_7:
	mov	x0, x20
	bl	_ksz8795_switch_register
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_spi_set_drvdata
	b	LBB0_11
LBB0_9:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_10:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_PTR_ERR
	mov	x21, x0
	ldr	x8, [x22]
	ldr	w2, [x8, x23]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_dev_err
LBB0_11:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ksz8795_regmap_config,8,3      ; @ksz8795_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to initialize regmap%i: %d\n"

	.no_dead_strip	_ksz8795_spi_probe
.subsections_via_symbols
