	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip17xx_probe
_ip17xx_probe:                          ## @ip17xx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, 16(%r14)
	movl	12(%r14), %eax
	movl	%eax, 8(%r15)
	movq	%r15, %rdi
	callq	_get_model
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	_MAX_VLANS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	(%r15), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 36(%r15)
	movl	4(%rax), %ecx
	movl	%ecx, 32(%r15)
	movl	(%rax), %ebx
	movl	%ebx, 16(%r15)
	movq	_ip17xx_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pr_info
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MAX_VLANS,4,2                  ## @MAX_VLANS
	.comm	_ip17xx_ops,4,2                 ## @ip17xx_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IP17xx: Found %s at %s\n"

	.no_dead_strip	_ip17xx_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip17xx_probe
_ip17xx_probe:                          ; @ip17xx_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	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_3:
	mov	x0, x21
	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_4:
	mov	x19, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
	str	x0, [x19, #16]
	ldr	w8, [x19, #12]
	str	w8, [x0, #8]
	bl	_get_model
	tbnz	w0, #31, LBB0_8
; %bb.6:
Lloh5:
	adrp	x8, _MAX_VLANS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_VLANS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	ldr	x8, [x20]
	ldur	d0, [x8, #4]
	str	d0, [x20, #32]
	ldr	w21, [x8]
	str	w21, [x20, #16]
Lloh8:
	adrp	x8, _ip17xx_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ip17xx_ops@GOTPAGEOFF]
	str	x8, [x20, #24]
	add	x0, x19, #8
	bl	_dev_name
	mov	x2, x0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_info
	mov	w21, #0
	b	LBB0_3
LBB0_7:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	mov	x21, x0
	mov	x0, x20
	bl	_kfree
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MAX_VLANS,4,2                  ; @MAX_VLANS
	.comm	_ip17xx_ops,4,2                 ; @ip17xx_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IP17xx: Found %s at %s\n"

	.no_dead_strip	_ip17xx_probe
.subsections_via_symbols
