	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hysdn_sched_tx                 ## -- Begin function hysdn_sched_tx
	.p2align	4, 0x90
_hysdn_sched_tx:                        ## @hysdn_sched_tx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_hysdn_tx_netack
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.3:
	movzwl	4(%rbx), %eax
	cmpw	%r13w, %ax
	jbe	LBB0_12
## %bb.4:
	movq	$0, 24(%rbx)
LBB0_5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	_ERRLOG_STATE_START@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_ERRLOG_CMD_REQ_SIZE@GOTPCREL(%rip), %r14
	cmpw	%r13w, (%r14)
	ja	LBB0_8
## %bb.7:
	movq	_ERRLOG_CMD_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcpy
	movzwl	(%r14), %eax
	movw	%ax, (%r15)
	movq	_CHAN_ERRLOG@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movw	%ax, (%rcx)
	movq	_ERRLOG_STATE_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_ERRLOG_STATE_STOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.9:
	movq	_ERRLOG_CMD_STOP_SIZE@GOTPCREL(%rip), %r14
	cmpw	%r13w, (%r14)
	ja	LBB0_15
## %bb.10:
	movq	_ERRLOG_CMD_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strcpy
	movzwl	(%r14), %eax
	movw	%ax, (%r15)
	movq	_CHAN_ERRLOG@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movw	%ax, (%rcx)
	movq	_ERRLOG_STATE_OFF@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_13
LBB0_12:
	movl	32(%rbx), %esi
	movzwl	%ax, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movzwl	4(%rbx), %eax
	movw	%ax, (%r15)
	movzwl	6(%rbx), %eax
	movw	%ax, (%r14)
	movq	$0, 24(%rbx)
LBB0_13:
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_hynet_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%rbx), %ecx
	xorl	%r14d, %r14d
	btl	%ecx, %eax
	jae	LBB0_14
## %bb.16:
	movq	%rbx, %rdi
	callq	_hysdn_tx_netget
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:
	movzwl	(%rax), %ecx
	cmpw	%r13w, %cx
	jbe	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_hysdn_tx_netack
	jmp	LBB0_14
LBB0_19:
	movzwl	%cx, %edx
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_skb_copy_from_linear_data
	movzwl	(%r14), %eax
	movw	%ax, (%r15)
	movq	_CHAN_NDIS_DATA@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movw	%ax, (%rcx)
	movl	$1, (%rbx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ERRLOG_STATE_START,8,3         ## @ERRLOG_STATE_START
	.comm	_ERRLOG_CMD_REQ_SIZE,2,1        ## @ERRLOG_CMD_REQ_SIZE
	.comm	_ERRLOG_CMD_REQ,4,2             ## @ERRLOG_CMD_REQ
	.comm	_CHAN_ERRLOG,2,1                ## @CHAN_ERRLOG
	.comm	_ERRLOG_STATE_ON,8,3            ## @ERRLOG_STATE_ON
	.comm	_ERRLOG_STATE_STOP,8,3          ## @ERRLOG_STATE_STOP
	.comm	_ERRLOG_CMD_STOP_SIZE,2,1       ## @ERRLOG_CMD_STOP_SIZE
	.comm	_ERRLOG_CMD_STOP,4,2            ## @ERRLOG_CMD_STOP
	.comm	_ERRLOG_STATE_OFF,8,3           ## @ERRLOG_STATE_OFF
	.comm	_hynet_enable,4,2               ## @hynet_enable
	.comm	_CHAN_NDIS_DATA,2,1             ## @CHAN_NDIS_DATA
	.comm	_CHAN_CAPI,2,1                  ## @CHAN_CAPI
	.comm	_hycapi_enable,4,2              ## @hycapi_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hysdn_sched_tx                 ; -- Begin function hysdn_sched_tx
	.p2align	2
_hysdn_sched_tx:                        ; @hysdn_sched_tx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	str	wzr, [x19]
	mov	x0, x19
	bl	_hysdn_tx_netack
LBB0_2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.3:
	ldrh	w2, [x19, #4]
	cmp	w2, w23
	b.ls	LBB0_13
; %bb.4:
	str	xzr, [x19, #24]
LBB0_5:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _ERRLOG_STATE_START@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERRLOG_STATE_START@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x24, _ERRLOG_CMD_REQ_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ERRLOG_CMD_REQ_SIZE@GOTPAGEOFF]
	ldrh	w10, [x24]
	cmp	x8, x9
	ccmp	w10, w23, #2, eq
	b.ls	LBB0_12
; %bb.6:
Lloh5:
	adrp	x9, _ERRLOG_STATE_STOP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ERRLOG_STATE_STOP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x24, _ERRLOG_CMD_STOP_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ERRLOG_CMD_STOP_SIZE@GOTPAGEOFF]
	ldrh	w10, [x24]
	cmp	x8, x9
	ccmp	w10, w23, #2, eq
	b.ls	LBB0_14
; %bb.7:
Lloh10:
	adrp	x8, _hynet_enable@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hynet_enable@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_hysdn_tx_netget
	cbz	x0, LBB0_17
; %bb.9:
	mov	x24, x0
	ldrh	w2, [x0]
	cmp	w2, w23
	b.ls	LBB0_18
; %bb.10:
	mov	x0, x19
	bl	_hysdn_tx_netack
LBB0_11:
	mov	w0, #0
	b	LBB0_17
LBB0_12:
Lloh13:
	adrp	x8, _ERRLOG_CMD_REQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRLOG_CMD_REQ@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcpy
	ldrh	w8, [x24]
	strh	w8, [x21]
Lloh16:
	adrp	x8, _CHAN_ERRLOG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CHAN_ERRLOG@GOTPAGEOFF]
	ldrh	w8, [x8]
	strh	w8, [x20]
Lloh18:
	adrp	x8, _ERRLOG_STATE_ON@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERRLOG_STATE_ON@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
	ldr	w1, [x19, #32]
	mov	x0, x22
	bl	_memcpy
	ldrh	w8, [x19, #4]
	strh	w8, [x21]
	ldrh	w8, [x19, #6]
	strh	w8, [x20]
	str	xzr, [x19, #24]
	b	LBB0_16
LBB0_14:
Lloh20:
	adrp	x8, _ERRLOG_CMD_STOP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERRLOG_CMD_STOP@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcpy
	ldrh	w8, [x24]
	strh	w8, [x21]
Lloh23:
	adrp	x8, _CHAN_ERRLOG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CHAN_ERRLOG@GOTPAGEOFF]
	ldrh	w8, [x8]
	strh	w8, [x20]
Lloh25:
	adrp	x8, _ERRLOG_STATE_OFF@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERRLOG_STATE_OFF@GOTPAGEOFF]
LBB0_15:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_16:
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_18:
	mov	x0, x24
	mov	x1, x22
	bl	_skb_copy_from_linear_data
	ldrh	w8, [x24]
	strh	w8, [x21]
Lloh27:
	adrp	x8, _CHAN_NDIS_DATA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CHAN_NDIS_DATA@GOTPAGEOFF]
	ldrh	w8, [x8]
	strh	w8, [x20]
	mov	w0, #1
	str	w0, [x19]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ERRLOG_STATE_START,8,3         ; @ERRLOG_STATE_START
	.comm	_ERRLOG_CMD_REQ_SIZE,2,1        ; @ERRLOG_CMD_REQ_SIZE
	.comm	_ERRLOG_CMD_REQ,4,2             ; @ERRLOG_CMD_REQ
	.comm	_CHAN_ERRLOG,2,1                ; @CHAN_ERRLOG
	.comm	_ERRLOG_STATE_ON,8,3            ; @ERRLOG_STATE_ON
	.comm	_ERRLOG_STATE_STOP,8,3          ; @ERRLOG_STATE_STOP
	.comm	_ERRLOG_CMD_STOP_SIZE,2,1       ; @ERRLOG_CMD_STOP_SIZE
	.comm	_ERRLOG_CMD_STOP,4,2            ; @ERRLOG_CMD_STOP
	.comm	_ERRLOG_STATE_OFF,8,3           ; @ERRLOG_STATE_OFF
	.comm	_hynet_enable,4,2               ; @hynet_enable
	.comm	_CHAN_NDIS_DATA,2,1             ; @CHAN_NDIS_DATA
	.comm	_CHAN_CAPI,2,1                  ; @CHAN_CAPI
	.comm	_hycapi_enable,4,2              ; @hycapi_enable
.subsections_via_symbols
