	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_bind_common            ## -- Begin function cdc_ncm_bind_common
	.p2align	4, 0x90
_cdc_ncm_bind_common:                   ## @cdc_ncm_bind_common
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	leaq	64(%rax), %rdi
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HRTIMER_MODE_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_hrtimer_init
	movq	_cdc_ncm_tx_timer_cb@GOTPCREL(%rip), %rax
	movq	%rax, 64(%rbx)
	leaq	60(%rbx), %rdi
	movq	_cdc_ncm_txpath_bh@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_tasklet_init
	leaq	56(%rbx), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	addq	$52, %rdi
	callq	_spin_lock_init
	movq	(%r14), %rax
	movq	%rbx, (%rax)
	movq	%r15, 16(%rbx)
	movq	%r15, %rdi
	callq	_driver_of
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movq	16(%rax), %rdx
	movl	(%rax), %ecx
	leaq	-96(%rbp), %rdi
	movq	%r15, %rsi
	callq	_cdc_parse_cdc_header
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	28(%r14), %edi
	movq	(%rax), %rsi
	callq	_usb_ifnum_to_if
	movq	%rax, 8(%rbx)
	movq	-96(%rbp), %r13
LBB0_3:
	movq	-72(%rbp), %rax
	movq	%rax, 32(%rbx)
	movl	-80(%rbp), %eax
	movl	%eax, 40(%rbx)
	movl	-84(%rbp), %eax
	movl	%eax, 44(%rbx)
	movl	-88(%rbp), %eax
	movl	%eax, 48(%rbx)
	testq	%r13, %r13
	je	LBB0_9
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_12
## %bb.5:
	movq	8(%r15), %rdi
	callq	_cdc_ncm_comm_intf_is_mbim
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	cmpl	$0, 44(%rbx)
	jne	LBB0_15
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_19
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_9:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.10:
	cmpl	$2, (%rax)
	jne	LBB0_4
## %bb.11:
	movl	28(%r14), %edi
	movq	8(%r15), %rax
	movq	8(%rax), %rsi
	incq	%rsi
	callq	_usb_ifnum_to_if
	movq	%rax, 8(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	jmp	LBB0_4
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_19
LBB0_13:
	cmpq	$0, 32(%rbx)
	je	LBB0_18
## %bb.14:
	cmpl	$0, 40(%rbx)
	je	LBB0_18
LBB0_15:
	movq	8(%rbx), %rsi
	cmpq	16(%rbx), %rsi
	je	LBB0_24
## %bb.16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_usb_driver_claim_interface
	testl	%eax, %eax
	je	LBB0_23
## %bb.17:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.3(%rip), %rsi
LBB0_19:
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_20:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_cdc_ncm_free
	movq	(%r14), %rax
	movq	$0, (%rax)
	leaq	L_.str.11(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_21:
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	8(%rbx), %rsi
LBB0_24:
	movq	8(%rsi), %rax
	movq	8(%rax), %r13
	movl	%r12d, (%rbx)
	movq	_CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_26
## %bb.25:
	movl	28(%r14), %edi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_usb_set_interface
LBB0_26:
	movl	28(%r14), %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_usb_set_interface
	testl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_29
LBB0_27:
	leaq	L_.str.5(%rip), %rsi
LBB0_28:
	movq	%r15, %rdi
	callq	_dev_dbg
	jmp	LBB0_30
LBB0_29:
	movq	%r14, %rdi
	callq	_cdc_ncm_init
	testq	%rax, %rax
	je	LBB0_32
LBB0_30:
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	movq	8(%rbx), %rsi
	cmpq	16(%rbx), %rsi
	je	LBB0_20
## %bb.31:
	movq	%r12, %rdi
	callq	_usb_driver_release_interface
	jmp	LBB0_20
LBB0_32:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	28(%r14), %edi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_usb_set_interface
	testl	%eax, %eax
	jne	LBB0_27
## %bb.33:
	movq	_CDC_NCM_FLAG_RESET_NTB16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_37
## %bb.34:
	movq	_USB_CDC_GET_NTB_FORMAT@GOTPCREL(%rip), %rax
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rsi
	movq	_USB_DIR_IN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rsi), %edx
	movl	(%rax), %esi
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	$2, (%rsp)
	leaq	-64(%rbp), %r9
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_usbnet_read_cmd
	testl	%eax, %eax
	js	LBB0_30
## %bb.35:
	movq	-64(%rbp), %r12
	movq	_USB_CDC_NCM_NTB32_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	cmpq	%rax, %r12
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_37
## %bb.36:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_USB_CDC_SET_NTB_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_USB_CDC_NCM_NTB16_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_usbnet_write_cmd
	testl	%eax, %eax
	js	LBB0_30
LBB0_37:
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_cdc_ncm_find_endpoints
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_cdc_ncm_find_endpoints
	cmpl	$0, 24(%r14)
	je	LBB0_43
## %bb.38:
	cmpl	$0, 20(%r14)
	je	LBB0_43
## %bb.39:
	cmpl	$0, 16(%r14)
	je	LBB0_43
## %bb.40:
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_usb_set_intfdata
	movq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	_usb_set_intfdata
	movq	32(%rbx), %rax
	testq	%rax, %rax
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	je	LBB0_45
## %bb.41:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usbnet_get_ethernet_addr
	testl	%eax, %eax
	je	LBB0_44
## %bb.42:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_28
LBB0_43:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_28
LBB0_44:
	movq	8(%r14), %rax
	movl	32(%rax), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_45:
	movq	%r14, %rdi
	callq	_cdc_ncm_setup
	movq	_CDC_NCM_FLAG_NDP_TO_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_48
## %bb.46:
	movl	4(%rbx), %edi
	movl	(%r13), %esi
	callq	_kzalloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_30
## %bb.47:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_48:
	movq	8(%r14), %rax
	movq	_cdc_ncm_ethtool_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movq	16(%rax), %rax
	movq	_cdc_ncm_sysfs_attr_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	8(%r14), %rax
	movq	_cdc_ncm_netdev_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	%r14, %rdi
	callq	_cdc_ncm_max_dgram_size
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_cdc_ncm_eth_hlen
	subq	%rax, %rbx
	movq	8(%r14), %rax
	movq	%rbx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_HRTIMER_MODE_REL,4,2           ## @HRTIMER_MODE_REL
	.comm	_cdc_ncm_tx_timer_cb,4,2        ## @cdc_ncm_tx_timer_cb
	.comm	_cdc_ncm_txpath_bh,4,2          ## @cdc_ncm_txpath_bh
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CDC Union missing - got slave from IAD\n"

L_.str.1:                               ## @.str.1
	.asciz	"CDC Union missing and no IAD found\n"

L_.str.2:                               ## @.str.2
	.asciz	"MBIM functional descriptor missing\n"

L_.str.3:                               ## @.str.3
	.asciz	"NCM or ECM functional descriptors missing\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to claim data intf\n"

	.comm	_CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE,4,2 ## @CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE
L_.str.5:                               ## @.str.5
	.asciz	"set interface failed\n"

	.comm	_CDC_NCM_FLAG_RESET_NTB16,4,2   ## @CDC_NCM_FLAG_RESET_NTB16
	.comm	_USB_CDC_GET_NTB_FORMAT,4,2     ## @USB_CDC_GET_NTB_FORMAT
	.comm	_USB_TYPE_CLASS,4,2             ## @USB_TYPE_CLASS
	.comm	_USB_DIR_IN,4,2                 ## @USB_DIR_IN
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.comm	_USB_CDC_NCM_NTB32_FORMAT,4,2   ## @USB_CDC_NCM_NTB32_FORMAT
L_.str.6:                               ## @.str.6
	.asciz	"resetting NTB format to 16-bit"

	.comm	_USB_CDC_SET_NTB_FORMAT,4,2     ## @USB_CDC_SET_NTB_FORMAT
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_USB_CDC_NCM_NTB16_FORMAT,4,2   ## @USB_CDC_NCM_NTB16_FORMAT
L_.str.7:                               ## @.str.7
	.asciz	"failed to collect endpoints\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to get mac address\n"

L_.str.9:                               ## @.str.9
	.asciz	"MAC-Address: %pM\n"

	.comm	_CDC_NCM_FLAG_NDP_TO_END,4,2    ## @CDC_NCM_FLAG_NDP_TO_END
L_.str.10:                              ## @.str.10
	.asciz	"NDP will be placed at end of frame for this device."

	.comm	_cdc_ncm_ethtool_ops,4,2        ## @cdc_ncm_ethtool_ops
	.comm	_cdc_ncm_sysfs_attr_group,4,2   ## @cdc_ncm_sysfs_attr_group
	.comm	_cdc_ncm_netdev_ops,4,2         ## @cdc_ncm_netdev_ops
L_.str.11:                              ## @.str.11
	.asciz	"bind() failure\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_bind_common            ; -- Begin function cdc_ncm_bind_common
	.p2align	2
_cdc_ncm_bind_common:                   ; @cdc_ncm_bind_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	add	x0, x0, #64
Lloh2:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _HRTIMER_MODE_REL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HRTIMER_MODE_REL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_hrtimer_init
Lloh8:
	adrp	x8, _cdc_ncm_tx_timer_cb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cdc_ncm_tx_timer_cb@GOTPAGEOFF]
	str	x8, [x21, #64]
	add	x0, x21, #60
Lloh10:
	adrp	x8, _cdc_ncm_txpath_bh@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cdc_ncm_txpath_bh@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
	add	x0, x21, #56
	mov	w1, #0
	bl	_atomic_set
	add	x0, x21, #52
	bl	_spin_lock_init
	ldr	x8, [x19]
	str	x21, [x8]
	str	x20, [x21, #16]
	mov	x0, x20
	bl	_driver_of
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	x2, [x8, #16]
	ldr	w3, [x8]
	add	x0, sp, #16
	mov	x1, x20
	bl	_cdc_parse_cdc_header
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #28]
	ldr	x1, [x8]
	bl	_usb_ifnum_to_if
	str	x0, [x21, #8]
	ldr	x8, [sp, #16]
LBB0_3:
	ldr	x9, [sp, #40]
	str	x9, [x21, #32]
	ldur	d0, [sp, #28]
	rev64.2s	v0, v0
	str	d0, [x21, #40]
	ldr	w9, [sp, #24]
	str	w9, [x21, #48]
	cbz	x8, LBB0_9
LBB0_4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_12
; %bb.5:
	ldr	x0, [x20, #8]
	bl	_cdc_ncm_comm_intf_is_mbim
	cbz	x0, LBB0_13
; %bb.6:
	ldr	w8, [x21, #44]
	cbnz	w8, LBB0_15
; %bb.7:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_8:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_21
LBB0_9:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.10:
	ldr	w8, [x8]
	cmp	w8, #2
	b.ne	LBB0_4
; %bb.11:
	ldr	w0, [x19, #28]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	add	x1, x8, #1
	bl	_usb_ifnum_to_if
	str	x0, [x21, #8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	b	LBB0_4
LBB0_12:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_13:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_18
; %bb.14:
	ldr	w8, [x21, #40]
	cbz	w8, LBB0_18
LBB0_15:
	ldp	x1, x8, [x21, #8]
	cmp	x1, x8
	b.eq	LBB0_24
; %bb.16:
	mov	x0, x22
	mov	x2, x19
	bl	_usb_driver_claim_interface
	cbz	w0, LBB0_23
; %bb.17:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_19:
	mov	x0, x20
	bl	_dev_dbg
LBB0_20:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_cdc_ncm_free
	ldr	x8, [x19]
	str	xzr, [x8]
Lloh25:
	adrp	x1, l_.str.11@PAGE
Lloh26:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh27:
	adrp	x8, _ENODEV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_22:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_23:
	ldr	x1, [x21, #8]
LBB0_24:
	ldr	x8, [x1, #8]
	ldr	x25, [x8, #8]
	str	w24, [x21]
Lloh29:
	adrp	x8, _CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w24
	b.ne	LBB0_26
; %bb.25:
	ldr	w0, [x19, #28]
	mov	x1, x25
	mov	x2, x23
	bl	_usb_set_interface
LBB0_26:
	ldr	w0, [x19, #28]
	mov	x1, x25
	mov	x2, #0
	bl	_usb_set_interface
	cbz	w0, LBB0_29
LBB0_27:
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_28:
	mov	x0, x20
	bl	_dev_dbg
	b	LBB0_30
LBB0_29:
	mov	x0, x19
	bl	_cdc_ncm_init
	cbz	x0, LBB0_32
LBB0_30:
	ldr	x0, [x21, #16]
	mov	x1, #0
	bl	_usb_set_intfdata
	ldr	x0, [x21, #8]
	mov	x1, #0
	bl	_usb_set_intfdata
	ldp	x1, x8, [x21, #8]
	cmp	x1, x8
	b.eq	LBB0_20
; %bb.31:
	mov	x0, x22
	bl	_usb_driver_release_interface
	b	LBB0_20
LBB0_32:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w0, [x19, #28]
	mov	x1, x25
	mov	x2, x23
	bl	_usb_set_interface
	cbnz	w0, LBB0_27
; %bb.33:
	ldr	w8, [x21]
Lloh34:
	adrp	x9, _CDC_NCM_FLAG_RESET_NTB16@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CDC_NCM_FLAG_RESET_NTB16@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.34:
Lloh37:
	adrp	x8, _USB_CDC_GET_NTB_FORMAT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _USB_CDC_GET_NTB_FORMAT@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x23, _USB_TYPE_CLASS@GOTPAGE
Lloh41:
	ldr	x23, [x23, _USB_TYPE_CLASS@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh42:
	adrp	x9, _USB_DIR_IN@GOTPAGE
Lloh43:
	ldr	x9, [x9, _USB_DIR_IN@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh45:
	adrp	x24, _USB_RECIP_INTERFACE@GOTPAGE
Lloh46:
	ldr	x24, [x24, _USB_RECIP_INTERFACE@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w2, w8, w9
	add	x5, sp, #8
	mov	x0, x19
	mov	w3, #0
	mov	x4, x25
	mov	w6, #2
	bl	_usbnet_read_cmd
	tbnz	w0, #31, LBB0_30
; %bb.35:
	ldr	x27, [sp, #8]
Lloh47:
	adrp	x8, _USB_CDC_NCM_NTB32_FORMAT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _USB_CDC_NCM_NTB32_FORMAT@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	cmp	x27, x0
	b.ne	LBB0_37
; %bb.36:
Lloh50:
	adrp	x1, l_.str.6@PAGE
Lloh51:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh52:
	adrp	x8, _USB_CDC_SET_NTB_FORMAT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _USB_CDC_SET_NTB_FORMAT@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ldr	w8, [x23]
Lloh55:
	adrp	x9, _USB_DIR_OUT@GOTPAGE
Lloh56:
	ldr	x9, [x9, _USB_DIR_OUT@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w2, w8, w9
Lloh58:
	adrp	x8, _USB_CDC_NCM_NTB16_FORMAT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _USB_CDC_NCM_NTB16_FORMAT@GOTPAGEOFF]
Lloh60:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x25
	mov	x5, #0
	mov	w6, #0
	bl	_usbnet_write_cmd
	tbnz	w0, #31, LBB0_30
LBB0_37:
	ldr	x1, [x21, #8]
	mov	x0, x19
	bl	_cdc_ncm_find_endpoints
	ldr	x1, [x21, #16]
	mov	x0, x19
	bl	_cdc_ncm_find_endpoints
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_43
; %bb.38:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_43
; %bb.39:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_43
; %bb.40:
	ldr	x0, [x21, #8]
	mov	x1, x19
	bl	_usb_set_intfdata
	ldr	x0, [x21, #16]
	mov	x1, x19
	bl	_usb_set_intfdata
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_45
; %bb.41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usbnet_get_ethernet_addr
	cbz	w0, LBB0_44
; %bb.42:
Lloh61:
	adrp	x1, l_.str.8@PAGE
Lloh62:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_28
LBB0_43:
Lloh63:
	adrp	x1, l_.str.7@PAGE
Lloh64:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_28
LBB0_44:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #32]
	str	x8, [sp]
Lloh65:
	adrp	x1, l_.str.9@PAGE
Lloh66:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_info
LBB0_45:
	mov	x0, x19
	bl	_cdc_ncm_setup
	ldr	w8, [x21]
Lloh67:
	adrp	x9, _CDC_NCM_FLAG_NDP_TO_END@GOTPAGE
Lloh68:
	ldr	x9, [x9, _CDC_NCM_FLAG_NDP_TO_END@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_48
; %bb.46:
	ldr	w0, [x21, #4]
	ldr	w1, [x26]
	bl	_kzalloc
	str	x0, [x21, #24]
	cbz	x0, LBB0_30
; %bb.47:
Lloh70:
	adrp	x1, l_.str.10@PAGE
Lloh71:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_info
LBB0_48:
	ldr	x8, [x19, #8]
Lloh72:
	adrp	x9, _cdc_ncm_ethtool_ops@GOTPAGE
Lloh73:
	ldr	x9, [x9, _cdc_ncm_ethtool_ops@GOTPAGEOFF]
	str	x9, [x8, #24]
Lloh74:
	adrp	x9, _cdc_ncm_sysfs_attr_group@GOTPAGE
Lloh75:
	ldr	x9, [x9, _cdc_ncm_sysfs_attr_group@GOTPAGEOFF]
	ldr	x8, [x8, #16]
	str	x9, [x8]
	ldr	x8, [x19, #8]
Lloh76:
	adrp	x9, _cdc_ncm_netdev_ops@GOTPAGE
Lloh77:
	ldr	x9, [x9, _cdc_ncm_netdev_ops@GOTPAGEOFF]
	str	x9, [x8, #8]
	mov	x0, x19
	bl	_cdc_ncm_max_dgram_size
	mov	x20, x0
	mov	x0, x19
	bl	_cdc_ncm_eth_hlen
	mov	x8, x0
	mov	w0, #0
	sub	x8, x20, x8
	ldr	x9, [x19, #8]
	str	x8, [x9]
	b	LBB0_22
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_HRTIMER_MODE_REL,4,2           ; @HRTIMER_MODE_REL
	.comm	_cdc_ncm_tx_timer_cb,4,2        ; @cdc_ncm_tx_timer_cb
	.comm	_cdc_ncm_txpath_bh,4,2          ; @cdc_ncm_txpath_bh
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CDC Union missing - got slave from IAD\n"

l_.str.1:                               ; @.str.1
	.asciz	"CDC Union missing and no IAD found\n"

l_.str.2:                               ; @.str.2
	.asciz	"MBIM functional descriptor missing\n"

l_.str.3:                               ; @.str.3
	.asciz	"NCM or ECM functional descriptors missing\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to claim data intf\n"

	.comm	_CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE,4,2 ; @CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE
l_.str.5:                               ; @.str.5
	.asciz	"set interface failed\n"

	.comm	_CDC_NCM_FLAG_RESET_NTB16,4,2   ; @CDC_NCM_FLAG_RESET_NTB16
	.comm	_USB_CDC_GET_NTB_FORMAT,4,2     ; @USB_CDC_GET_NTB_FORMAT
	.comm	_USB_TYPE_CLASS,4,2             ; @USB_TYPE_CLASS
	.comm	_USB_DIR_IN,4,2                 ; @USB_DIR_IN
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.comm	_USB_CDC_NCM_NTB32_FORMAT,4,2   ; @USB_CDC_NCM_NTB32_FORMAT
l_.str.6:                               ; @.str.6
	.asciz	"resetting NTB format to 16-bit"

	.comm	_USB_CDC_SET_NTB_FORMAT,4,2     ; @USB_CDC_SET_NTB_FORMAT
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_USB_CDC_NCM_NTB16_FORMAT,4,2   ; @USB_CDC_NCM_NTB16_FORMAT
l_.str.7:                               ; @.str.7
	.asciz	"failed to collect endpoints\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to get mac address\n"

l_.str.9:                               ; @.str.9
	.asciz	"MAC-Address: %pM\n"

	.comm	_CDC_NCM_FLAG_NDP_TO_END,4,2    ; @CDC_NCM_FLAG_NDP_TO_END
l_.str.10:                              ; @.str.10
	.asciz	"NDP will be placed at end of frame for this device."

	.comm	_cdc_ncm_ethtool_ops,4,2        ; @cdc_ncm_ethtool_ops
	.comm	_cdc_ncm_sysfs_attr_group,4,2   ; @cdc_ncm_sysfs_attr_group
	.comm	_cdc_ncm_netdev_ops,4,2         ; @cdc_ncm_netdev_ops
l_.str.11:                              ; @.str.11
	.asciz	"bind() failure\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
