	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qmi_wwan_unbind
_qmi_wwan_unbind:                       ## @qmi_wwan_unbind
	.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	%rsi, %r15
	movq	%rdi, %rbx
	leaq	8(%rdi), %r12
	movq	%rsi, %rdi
	callq	_driver_of
	movq	%rax, %r14
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rdi
	callq	*%rax
LBB0_3:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	cmpl	$513, %eax                      ## imm = 0x201
	jl	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_qmi_wwan_change_dtr
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_qmi_wwan_manage_power
LBB0_5:
	movq	(%r12), %rbx
	cmpq	%r15, %rbx
	jne	LBB0_7
## %bb.6:
	movq	8(%r12), %rbx
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:
	cmpq	%r15, %rbx
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_usb_driver_release_interface
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movq	$0, 16(%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qmi_wwan_unbind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qmi_wwan_unbind
_qmi_wwan_unbind:                       ; @qmi_wwan_unbind
	.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
	mov	x20, x1
	mov	x21, x0
	add	x22, x0, #8
	mov	x0, x1
	bl	_driver_of
	mov	x19, x0
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x22]
	blr	x8
LBB0_3:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	cmp	w0, #513
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	w1, #0
	bl	_qmi_wwan_change_dtr
	mov	x0, x21
	mov	w1, #0
	bl	_qmi_wwan_manage_power
LBB0_5:
	ldr	x21, [x22]
	cmp	x21, x20
	b.ne	LBB0_7
; %bb.6:
	ldr	x21, [x22, #8]
LBB0_7:
	cbz	x21, LBB0_10
; %bb.8:
	cmp	x21, x20
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x21
	mov	x1, #0
	bl	_usb_set_intfdata
	mov	x0, x19
	mov	x1, x21
	bl	_usb_driver_release_interface
LBB0_10:
	stp	xzr, xzr, [x22]
	str	xzr, [x22, #16]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qmi_wwan_unbind
.subsections_via_symbols
