	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skfp_driver_init
_skfp_driver_init:                      ## @skfp_driver_init
	.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	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	8(%r15), %eax
	movl	%eax, 68(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 8(%rbx)
	leaq	64(%rbx), %rdi
	callq	_spin_lock_init
	leaq	36(%rbx), %r14
	movq	_MAX_FRAME_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	leaq	32(%rbx), %rdx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_dma_alloc_coherent
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_mac_drv_check_space
	movq	%rax, 16(%rbx)
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	jle	LBB0_5
## %bb.3:
	addq	$16, %rsi
	movq	%rsi, 16(%rbx)
	movq	%rbx, %rdx
	addq	$48, %rdx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_dma_alloc_coherent
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	16(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_9
LBB0_5:
	movq	$0, 40(%rbx)
LBB0_6:
	movq	$0, 56(%rbx)
	movq	%rbx, %rdi
	callq	_card_stop
	leaq	L_.str.5(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_mac_drv_init
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_8:
	movq	_MAX_FRAME_SIZE@GOTPCREL(%rip), %r12
LBB0_9:
	movq	40(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	movq	16(%rbx), %rsi
	movl	48(%rbx), %ecx
	movq	%r14, %rdi
	callq	_dma_free_coherent
	movq	$0, 40(%rbx)
LBB0_11:
	movq	24(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.12:
	movq	(%r12), %rsi
	movl	32(%rbx), %ecx
	movq	%r14, %rdi
	callq	_dma_free_coherent
	movq	$0, 24(%rbx)
LBB0_13:
	movl	%r13d, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_read_address
	movq	(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	(%r15), %edi
	movq	(%rbx), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_smt_reset_defaults
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering skfp_driver_init\n"

	.comm	_MAX_FRAME_SIZE,8,3             ## @MAX_FRAME_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"could not allocate mem for "

L_.str.2:                               ## @.str.2
	.asciz	"LocalRxBuffer: %d byte\n"

L_.str.3:                               ## @.str.3
	.asciz	"Memory for HWM: %ld\n"

L_.str.4:                               ## @.str.4
	.asciz	"hardware module: %ld byte\n"

L_.str.5:                               ## @.str.5
	.asciz	"mac_drv_init()..\n"

L_.str.6:                               ## @.str.6
	.asciz	"mac_drv_init() failed\n"

L_.str.7:                               ## @.str.7
	.asciz	"HW-Addr: %pMF\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_skfp_driver_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skfp_driver_init
_skfp_driver_init:                      ; @skfp_driver_init
	.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	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldp	w9, w8, [x21, #4]
	str	w8, [x19, #68]
	str	w9, [x19, #8]
	add	x0, x19, #64
	bl	_spin_lock_init
Lloh5:
	adrp	x22, _MAX_FRAME_SIZE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MAX_FRAME_SIZE@GOTPAGEOFF]
	add	x20, x19, #36
	ldr	x1, [x22]
	add	x2, x19, #32
Lloh7:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh8:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x20
	bl	_dma_alloc_coherent
	str	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_mac_drv_check_space
	str	x0, [x19, #16]
	str	x0, [sp]
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	add	x1, x8, #16
	str	x1, [x19, #16]
	add	x2, x19, #48
	ldr	w3, [x24]
	mov	x0, x20
	bl	_dma_alloc_coherent
	str	x0, [x19, #40]
	cbnz	x0, LBB0_6
; %bb.3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printk
	b	LBB0_8
LBB0_4:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	x8, [x22]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
	b	LBB0_8
LBB0_5:
	str	xzr, [x19, #40]
LBB0_6:
	str	xzr, [x19, #56]
	mov	x0, x19
	bl	_card_stop
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_mac_drv_init
	cbz	x0, LBB0_12
; %bb.7:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_debug
LBB0_8:
	neg	w21, w23
	ldr	x2, [x19, #40]
	cbz	x2, LBB0_10
; %bb.9:
	ldr	x1, [x19, #16]
	ldr	w3, [x19, #48]
	mov	x0, x20
	bl	_dma_free_coherent
	str	xzr, [x19, #40]
LBB0_10:
	ldr	x2, [x19, #24]
	cbz	x2, LBB0_13
; %bb.11:
	ldr	x1, [x22]
	ldr	w3, [x19, #32]
	mov	x0, x20
	bl	_dma_free_coherent
	str	xzr, [x19, #24]
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, #0
	bl	_read_address
	ldr	x8, [x19]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_debug
	ldr	w0, [x21]
	ldr	x1, [x19]
Lloh25:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x19
	mov	w1, #0
	bl	_smt_reset_defaults
	mov	w21, #0
LBB0_13:
	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	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering skfp_driver_init\n"

	.comm	_MAX_FRAME_SIZE,8,3             ; @MAX_FRAME_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"could not allocate mem for "

l_.str.2:                               ; @.str.2
	.asciz	"LocalRxBuffer: %d byte\n"

l_.str.3:                               ; @.str.3
	.asciz	"Memory for HWM: %ld\n"

l_.str.4:                               ; @.str.4
	.asciz	"hardware module: %ld byte\n"

l_.str.5:                               ; @.str.5
	.asciz	"mac_drv_init()..\n"

l_.str.6:                               ; @.str.6
	.asciz	"mac_drv_init() failed\n"

l_.str.7:                               ; @.str.7
	.asciz	"HW-Addr: %pMF\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_skfp_driver_init
.subsections_via_symbols
