	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qmi_wwan_netdev_setup
_qmi_wwan_netdev_setup:                 ## @qmi_wwan_netdev_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_QMI_WWAN_FLAG_RAWIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_2
## %bb.1:
	movq	$0, 8(%rbx)
	movq	_ARPHRD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_EVENT_NO_IP_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	callq	_netdev_dbg
	jmp	LBB0_5
LBB0_2:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
LBB0_5:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_usbnet_change_mtu              ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_ether_setup
	movq	_EVENT_NO_IP_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_QMI_WWAN_FLAG_RAWIP,4,2        ## @QMI_WWAN_FLAG_RAWIP
	.comm	_ARPHRD_NONE,4,2                ## @ARPHRD_NONE
	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_EVENT_NO_IP_ALIGN,4,2          ## @EVENT_NO_IP_ALIGN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode: raw IP\n"

L_.str.1:                               ## @.str.1
	.asciz	"mode: Ethernet\n"

	.no_dead_strip	_qmi_wwan_netdev_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qmi_wwan_netdev_setup
_qmi_wwan_netdev_setup:                 ; @qmi_wwan_netdev_setup
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _QMI_WWAN_FLAG_RAWIP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QMI_WWAN_FLAG_RAWIP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	stp	xzr, xzr, [x19, #8]
Lloh3:
	adrp	x8, _ARPHRD_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARPHRD_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
Lloh6:
	adrp	x8, _IFF_POINTOPOINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IFF_NOARP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_NOARP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh15:
	adrp	x8, _EVENT_NO_IP_ALIGN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EVENT_NO_IP_ALIGN@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_netdev_dbg
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
LBB0_4:
	ldr	w1, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usbnet_change_mtu
LBB0_5:
	mov	x0, x19
	bl	_ether_setup
Lloh20:
	adrp	x8, _EVENT_NO_IP_ALIGN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EVENT_NO_IP_ALIGN@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_QMI_WWAN_FLAG_RAWIP,4,2        ; @QMI_WWAN_FLAG_RAWIP
	.comm	_ARPHRD_NONE,4,2                ; @ARPHRD_NONE
	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_EVENT_NO_IP_ALIGN,4,2          ; @EVENT_NO_IP_ALIGN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode: raw IP\n"

l_.str.1:                               ; @.str.1
	.asciz	"mode: Ethernet\n"

	.no_dead_strip	_qmi_wwan_netdev_setup
.subsections_via_symbols
