	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmnet_map_do_flow_control
_rmnet_map_do_flow_control:             ## @rmnet_map_do_flow_control
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_RMNET_MAP_GET_MUX_ID
	movq	_RMNET_MAX_LOGICAL_EP@GOTPCREL(%rip), %rcx
	movq	_RX_HANDLER_CONSUMED@GOTPCREL(%rip), %r12
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_rmnet_get_endpoint
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rdi
	movl	%r14d, %esi
	callq	_rmnet_vnd_do_flow_control
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	_RMNET_MAP_COMMAND_UNSUPPORTED@GOTPCREL(%rip), %r12
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_5:
	movq	(%r12), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_RMNET_MAP_COMMAND_ACK@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_RMNET_MAX_LOGICAL_EP,8,3       ## @RMNET_MAX_LOGICAL_EP
	.comm	_RX_HANDLER_CONSUMED,8,3        ## @RX_HANDLER_CONSUMED
	.comm	_RMNET_MAP_COMMAND_UNSUPPORTED,8,3 ## @RMNET_MAP_COMMAND_UNSUPPORTED
	.comm	_RMNET_MAP_COMMAND_ACK,8,3      ## @RMNET_MAP_COMMAND_ACK
	.no_dead_strip	_rmnet_map_do_flow_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmnet_map_do_flow_control
_rmnet_map_do_flow_control:             ; @rmnet_map_do_flow_control
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_RMNET_MAP_GET_MUX_ID
Lloh0:
	adrp	x8, _RMNET_MAX_LOGICAL_EP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RMNET_MAX_LOGICAL_EP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.1:
	mov	x1, x0
	mov	x0, x21
	bl	_rmnet_get_endpoint
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x0]
	mov	x1, x20
	bl	_rmnet_vnd_do_flow_control
	cbz	w0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x20, _RMNET_MAP_COMMAND_UNSUPPORTED@GOTPAGE
Lloh4:
	ldr	x20, [x20, _RMNET_MAP_COMMAND_UNSUPPORTED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x20, _RX_HANDLER_CONSUMED@GOTPAGE
Lloh6:
	ldr	x20, [x20, _RX_HANDLER_CONSUMED@GOTPAGEOFF]
LBB0_5:
	mov	x0, x19
	bl	_kfree_skb
LBB0_6:
	ldr	x0, [x20]
	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
LBB0_7:
Lloh7:
	adrp	x20, _RMNET_MAP_COMMAND_ACK@GOTPAGE
Lloh8:
	ldr	x20, [x20, _RMNET_MAP_COMMAND_ACK@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RMNET_MAX_LOGICAL_EP,8,3       ; @RMNET_MAX_LOGICAL_EP
	.comm	_RX_HANDLER_CONSUMED,8,3        ; @RX_HANDLER_CONSUMED
	.comm	_RMNET_MAP_COMMAND_UNSUPPORTED,8,3 ; @RMNET_MAP_COMMAND_UNSUPPORTED
	.comm	_RMNET_MAP_COMMAND_ACK,8,3      ; @RMNET_MAP_COMMAND_ACK
	.no_dead_strip	_rmnet_map_do_flow_control
.subsections_via_symbols
