	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sierra_net_send_cmd
_sierra_net_send_cmd:                   ## @sierra_net_send_cmd
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_sierra_net_get_private
	movq	_USB_CDC_SEND_ENCAPSULATED_COMMAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rcx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %r8d
	movl	%r12d, (%rsp)
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_usbnet_write_cmd
	movl	%eax, %ebx
	cmpl	%r12d, %eax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_netdev_err
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_CDC_SEND_ENCAPSULATED_COMMAND,4,2 ## @USB_CDC_SEND_ENCAPSULATED_COMMAND
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_USB_TYPE_CLASS,4,2             ## @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Submit %s failed %d\n"

	.no_dead_strip	_sierra_net_send_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sierra_net_send_cmd
_sierra_net_send_cmd:                   ; @sierra_net_send_cmd
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_sierra_net_get_private
Lloh0:
	adrp	x8, _USB_CDC_SEND_ENCAPSULATED_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_CDC_SEND_ENCAPSULATED_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _USB_DIR_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_DIR_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _USB_TYPE_CLASS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USB_TYPE_CLASS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _USB_RECIP_INTERFACE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _USB_RECIP_INTERFACE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w4, [x0]
	mov	x0, x20
	mov	w3, #0
	mov	x5, x21
	mov	x6, x22
	bl	_usbnet_write_cmd
	mov	x21, x0
	cmp	w0, w22
	b.eq	LBB0_3
; %bb.1:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w21, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_netdev_err
LBB0_3:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_CDC_SEND_ENCAPSULATED_COMMAND,4,2 ; @USB_CDC_SEND_ENCAPSULATED_COMMAND
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_USB_TYPE_CLASS,4,2             ; @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Submit %s failed %d\n"

	.no_dead_strip	_sierra_net_send_cmd
.subsections_via_symbols
