	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qmi_wwan_probe
_qmi_wwan_probe:                        ## @qmi_wwan_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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	cmpq	$0, (%rsi)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_qmi_wwan_info@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	_USB_DEVICE_ID_MATCH_INT_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rdx
	movq	_USB_CLASS_VENDOR_SPEC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_10
LBB0_4:
	movq	%r14, %rdi
	callq	_quectel_ec20_detected
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpq	$0, 8(%r15)
	je	LBB0_11
LBB0_6:
	movq	(%rbx), %rax
	movq	_QMI_WWAN_QUIRK_QUECTEL_DYNCFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.7:
	cmpl	$2, 16(%r15)
	jne	LBB0_9
## %bb.8:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usbnet_probe                   ## TAILCALL
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_12:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting defaults for dynamic device id\n"

	.comm	_qmi_wwan_info,4,2              ## @qmi_wwan_info
	.comm	_USB_DEVICE_ID_MATCH_INT_NUMBER,4,2 ## @USB_DEVICE_ID_MATCH_INT_NUMBER
	.comm	_USB_CLASS_VENDOR_SPEC,8,3      ## @USB_CLASS_VENDOR_SPEC
L_.str.1:                               ## @.str.1
	.asciz	"Rejecting interface number match for class %02x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"Quectel EC20 quirk, skipping interface 0\n"

	.comm	_QMI_WWAN_QUIRK_QUECTEL_DYNCFG,4,2 ## @QMI_WWAN_QUIRK_QUECTEL_DYNCFG
	.no_dead_strip	_qmi_wwan_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qmi_wwan_probe
_qmi_wwan_probe:                        ; @qmi_wwan_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x1]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh2:
	adrp	x8, _qmi_wwan_info@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qmi_wwan_info@GOTPAGEOFF]
	str	x8, [x20]
LBB0_2:
	ldr	w8, [x20, #8]
Lloh4:
	adrp	x9, _USB_DEVICE_ID_MATCH_INT_NUMBER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _USB_DEVICE_ID_MATCH_INT_NUMBER@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
Lloh7:
	adrp	x9, _USB_CLASS_VENDOR_SPEC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _USB_CLASS_VENDOR_SPEC@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_quectel_ec20_detected
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_10
LBB0_6:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _QMI_WWAN_QUIRK_QUECTEL_DYNCFG@GOTPAGE
Lloh11:
	ldr	x9, [x9, _QMI_WWAN_QUIRK_QUECTEL_DYNCFG@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x21, #16]
	cmp	w8, #2
	b.eq	LBB0_12
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_usbnet_probe
LBB0_9:
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_dbg
LBB0_12:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting defaults for dynamic device id\n"

	.comm	_qmi_wwan_info,4,2              ; @qmi_wwan_info
	.comm	_USB_DEVICE_ID_MATCH_INT_NUMBER,4,2 ; @USB_DEVICE_ID_MATCH_INT_NUMBER
	.comm	_USB_CLASS_VENDOR_SPEC,8,3      ; @USB_CLASS_VENDOR_SPEC
l_.str.1:                               ; @.str.1
	.asciz	"Rejecting interface number match for class %02x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"Quectel EC20 quirk, skipping interface 0\n"

	.comm	_QMI_WWAN_QUIRK_QUECTEL_DYNCFG,4,2 ; @QMI_WWAN_QUIRK_QUECTEL_DYNCFG
	.no_dead_strip	_qmi_wwan_probe
.subsections_via_symbols
