	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_rxbuf_data_and_resubmit_ctrl_urb
_put_rxbuf_data_and_resubmit_ctrl_urb:  ## @put_rxbuf_data_and_resubmit_ctrl_urb
	.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
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	cmpq	$0, 8(%rdi)
	jle	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_put_rxbuf_data
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_5
LBB0_3:
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.4:
	movq	(%rbx), %rax
	movq	_RX_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_7:
	movq	_RX_SENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hso_mux_serial_read            ## TAILCALL
LBB0_5:
	movq	_RX_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_PENDING,8,3                 ## @RX_PENDING
	.comm	_RX_SENT,8,3                    ## @RX_SENT
	.comm	_RX_IDLE,8,3                    ## @RX_IDLE
	.no_dead_strip	_put_rxbuf_data_and_resubmit_ctrl_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_rxbuf_data_and_resubmit_ctrl_urb
_put_rxbuf_data_and_resubmit_ctrl_urb:  ; @put_rxbuf_data_and_resubmit_ctrl_urb
	.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
	ldp	x9, x8, [x0, #8]
	ldr	x20, [x8]
	cmp	x9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_put_rxbuf_data
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.2:
	cbnz	w0, LBB0_6
LBB0_3:
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _RX_PENDING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _RX_SENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_SENT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hso_mux_serial_read
LBB0_6:
Lloh6:
	adrp	x8, _RX_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_PENDING,8,3                 ; @RX_PENDING
	.comm	_RX_SENT,8,3                    ; @RX_SENT
	.comm	_RX_IDLE,8,3                    ; @RX_IDLE
	.no_dead_strip	_put_rxbuf_data_and_resubmit_ctrl_urb
.subsections_via_symbols
