	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sierra_net_get_fw_attr
_sierra_net_get_fw_attr:                ## @sierra_net_get_fw_attr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_SWI_USB_REQUEST_GET_FW_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_USB_DIR_IN@GOTPCREL(%rip), %rax
	movq	_USB_TYPE_VENDOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$4, (%rsp)
	xorl	%ebx, %ebx
	leaq	-28(%rbp), %r9
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_usbnet_read_cmd
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	movl	-28(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, (%r14)
	movl	%r15d, %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWI_USB_REQUEST_GET_FW_ATTR,4,2 ## @SWI_USB_REQUEST_GET_FW_ATTR
	.comm	_USB_DIR_IN,4,2                 ## @USB_DIR_IN
	.comm	_USB_TYPE_VENDOR,4,2            ## @USB_TYPE_VENDOR
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_sierra_net_get_fw_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sierra_net_get_fw_attr
_sierra_net_get_fw_attr:                ; @sierra_net_get_fw_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _SWI_USB_REQUEST_GET_FW_ATTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWI_USB_REQUEST_GET_FW_ATTR@GOTPAGEOFF]
Lloh2:
	adrp	x9, _USB_DIR_IN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _USB_DIR_IN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _USB_TYPE_VENDOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USB_TYPE_VENDOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x5, sp, #12
	mov	w3, #0
	mov	w4, #0
	mov	w6, #4
	bl	_usbnet_read_cmd
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
	str	w0, [x19]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SWI_USB_REQUEST_GET_FW_ATTR,4,2 ; @SWI_USB_REQUEST_GET_FW_ATTR
	.comm	_USB_DIR_IN,4,2                 ; @USB_DIR_IN
	.comm	_USB_TYPE_VENDOR,4,2            ; @USB_TYPE_VENDOR
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_sierra_net_get_fw_attr
.subsections_via_symbols
