	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_em28xx_free_device             ## -- Begin function em28xx_free_device
	.p2align	4, 0x90
_em28xx_free_device:                    ## @em28xx_free_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_kref_to_dev
	movq	%rax, %rbx
	movq	24(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	cmpl	$0, 16(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_em28xx_release_resources
LBB0_2:
	movq	(%rbx), %rax
	movq	_PRIMARY_TS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdi
	callq	_kfree
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Freeing device\n"

	.comm	_PRIMARY_TS,8,3                 ## @PRIMARY_TS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_em28xx_free_device             ; -- Begin function em28xx_free_device
	.p2align	2
_em28xx_free_device:                    ; @em28xx_free_device
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_kref_to_dev
	mov	x19, x0
	ldr	x0, [x0, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_em28xx_release_resources
LBB0_2:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _PRIMARY_TS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PRIMARY_TS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Freeing device\n"

	.comm	_PRIMARY_TS,8,3                 ; @PRIMARY_TS
.subsections_via_symbols
