	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsa_loop_drv_probe
_dsa_loop_drv_probe:                    ## @dsa_loop_drv_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), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r12
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_DSA_MAX_PORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_dsa_switch_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r15
	movl	8(%rbx), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_dev_get_by_name
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%rbx), %rcx
	movq	_DSA_LOOP_CPU_PORT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	%r12, 16(%r14)
	movq	_dsa_loop_driver@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%r15, (%r14)
	movl	8(%r12), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dsa_register_switch            ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: 0x%0x\n"

	.comm	_DSA_MAX_PORTS,4,2              ## @DSA_MAX_PORTS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_init_net,4,2                   ## @init_net
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_DSA_LOOP_CPU_PORT,8,3          ## @DSA_LOOP_CPU_PORT
	.comm	_dsa_loop_driver,4,2            ## @dsa_loop_driver
	.no_dead_strip	_dsa_loop_drv_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsa_loop_drv_probe
_dsa_loop_drv_probe:                    ; @dsa_loop_drv_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
	ldr	x22, [x0]
	cbz	x22, LBB0_6
; %bb.1:
	mov	x19, x0
	ldp	w3, w2, [x22, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh2:
	adrp	x8, _DSA_MAX_PORTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DSA_MAX_PORTS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dsa_switch_alloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	ldr	w1, [x22, #8]
Lloh8:
	adrp	x0, _init_net@GOTPAGE
Lloh9:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_dev_get_by_name
	str	x0, [x21, #8]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x22]
Lloh10:
	adrp	x9, _DSA_LOOP_CPU_PORT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DSA_LOOP_CPU_PORT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	x0, [x8, x9, lsl #3]
	str	x19, [x20, #16]
Lloh13:
	adrp	x8, _dsa_loop_driver@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dsa_loop_driver@GOTPAGEOFF]
	stp	x21, x8, [x20]
	ldr	w8, [x19, #8]
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	x0, x20
	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	_dsa_register_switch
LBB0_5:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh19:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: 0x%0x\n"

	.comm	_DSA_MAX_PORTS,4,2              ; @DSA_MAX_PORTS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_init_net,4,2                   ; @init_net
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_DSA_LOOP_CPU_PORT,8,3          ; @DSA_LOOP_CPU_PORT
	.comm	_dsa_loop_driver,4,2            ; @dsa_loop_driver
	.no_dead_strip	_dsa_loop_drv_probe
.subsections_via_symbols
