	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usbnet_update_max_qlen         ## -- Begin function usbnet_update_max_qlen
	.p2align	4, 0x90
_usbnet_update_max_qlen:                ## @usbnet_update_max_qlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.1:
	movl	4(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.2:
	movq	16(%rdi), %rax
	movl	(%rax), %eax
	leal	-128(%rax), %edx
	cmpl	$2, %edx
	jae	LBB0_3
## %bb.6:
	movq	_MAX_QUEUE_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %r8d
	jmp	LBB0_5
LBB0_3:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.4:
	movq	_MAX_QUEUE_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_5:
	movl	%r8d, %eax
	cltd
	idivl	%ecx
	movl	%eax, 8(%rdi)
	movl	%r8d, %eax
	cltd
	idivl	%esi
	movl	%eax, 12(%rdi)
	popq	%rbp
	retq
LBB0_7:
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QUEUE_MEMORY,4,2           ## @MAX_QUEUE_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usbnet_update_max_qlen         ; -- Begin function usbnet_update_max_qlen
	.p2align	2
_usbnet_update_max_qlen:                ; @usbnet_update_max_qlen
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	w9, [x0, #4]
	cbz	w9, LBB0_7
; %bb.2:
	ldr	x10, [x0, #16]
	ldr	w10, [x10]
	sub	w11, w10, #128
	cmp	w11, #2
	b.hs	LBB0_4
; %bb.3:
Lloh0:
	adrp	x10, _MAX_QUEUE_MEMORY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_QUEUE_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	add	w10, w10, w10, lsl #2
	b	LBB0_6
LBB0_4:
	cmp	w10, #130
	b.ne	LBB0_7
; %bb.5:
Lloh3:
	adrp	x10, _MAX_QUEUE_MEMORY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX_QUEUE_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
LBB0_6:
	sdiv	w8, w10, w8
	sdiv	w9, w10, w9
	stp	w8, w9, [x0, #8]
	ret
LBB0_7:
	movi.2s	v0, #4
	str	d0, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QUEUE_MEMORY,4,2           ; @MAX_QUEUE_MEMORY
.subsections_via_symbols
