	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_parameters
_check_parameters:                      ## @check_parameters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_qsb_tau@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jg	LBB0_2
## %bb.1:
	movl	$1, (%rax)
LBB0_2:
	movq	_qsb_tstep@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.4:
	movl	$4, %ecx
	cmpl	$4, %edx
	ja	LBB0_6
## %bb.5:
	movl	$2, %ecx
	cmpl	$3, %edx
	je	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movl	$1, %ecx
LBB0_6:
	movl	%ecx, (%rax)
LBB0_7:
	movq	_write_descriptor_delay@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jns	LBB0_9
## %bb.8:
	movq	$0, (%rax)
LBB0_9:
	movq	_aal5_fill_pattern@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	testl	%edx, %edx
	movzbl	%dl, %edx
	cmovsl	%ecx, %edx
	movl	%edx, (%rax)
	movq	_aal5r_max_packet_size@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	testl	%eax, %eax
	js	LBB0_11
## %bb.10:
	movq	_MAX_RX_FRAME_EXTRA_BYTES@GOTPCREL(%rip), %rsi
	movl	$65535, %ecx                    ## imm = 0xFFFF
	subl	(%rsi), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_12
LBB0_11:
	movl	%ecx, (%rdx)
	movl	%ecx, %eax
LBB0_12:
	movq	_aal5r_min_packet_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	js	LBB0_13
## %bb.14:
	cmpl	%eax, %edx
	jg	LBB0_15
	jmp	LBB0_16
LBB0_13:
	xorl	%eax, %eax
LBB0_15:
	movl	%eax, (%rcx)
LBB0_16:
	movq	_aal5s_max_packet_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	movq	_MAX_TX_FRAME_EXTRA_BYTES@GOTPCREL(%rip), %rsi
	movl	$65535, %edx                    ## imm = 0xFFFF
	subl	(%rsi), %edx
	cmpl	%edx, %eax
	jge	LBB0_19
	jmp	LBB0_20
LBB0_17:
	xorl	%edx, %edx
LBB0_19:
	movl	%edx, (%rcx)
	movl	%edx, %eax
LBB0_20:
	movq	_aal5s_min_packet_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	js	LBB0_21
## %bb.22:
	cmpl	%eax, %edx
	jg	LBB0_23
	jmp	LBB0_24
LBB0_21:
	xorl	%eax, %eax
LBB0_23:
	movl	%eax, (%rcx)
LBB0_24:
	movq	_dma_rx_descriptor_length@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	cmpl	$1, %eax
	jg	LBB0_26
## %bb.25:
	movl	$2, (%rcx)
	movl	$2, %eax
LBB0_26:
	movq	_dma_tx_descriptor_length@GOTPCREL(%rip), %rcx
	cmpl	$1, (%rcx)
	jg	LBB0_28
## %bb.27:
	movl	$2, (%rcx)
LBB0_28:
	movq	_dma_rx_clp1_descriptor_threshold@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	js	LBB0_29
## %bb.30:
	cmpl	%eax, %edx
	ja	LBB0_31
## %bb.32:
	popq	%rbp
	retq
LBB0_29:
	xorl	%eax, %eax
LBB0_31:
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qsb_tau,4,2                    ## @qsb_tau
	.comm	_qsb_tstep,4,2                  ## @qsb_tstep
	.comm	_write_descriptor_delay,8,3     ## @write_descriptor_delay
	.comm	_aal5_fill_pattern,4,2          ## @aal5_fill_pattern
	.comm	_aal5r_max_packet_size,4,2      ## @aal5r_max_packet_size
	.comm	_MAX_RX_FRAME_EXTRA_BYTES,4,2   ## @MAX_RX_FRAME_EXTRA_BYTES
	.comm	_aal5r_min_packet_size,4,2      ## @aal5r_min_packet_size
	.comm	_aal5s_max_packet_size,4,2      ## @aal5s_max_packet_size
	.comm	_MAX_TX_FRAME_EXTRA_BYTES,4,2   ## @MAX_TX_FRAME_EXTRA_BYTES
	.comm	_aal5s_min_packet_size,4,2      ## @aal5s_min_packet_size
	.comm	_dma_rx_descriptor_length,4,2   ## @dma_rx_descriptor_length
	.comm	_dma_tx_descriptor_length,4,2   ## @dma_tx_descriptor_length
	.comm	_dma_rx_clp1_descriptor_threshold,4,2 ## @dma_rx_clp1_descriptor_threshold
	.no_dead_strip	_check_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_parameters
_check_parameters:                      ; @check_parameters
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _qsb_tau@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qsb_tau@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	b.gt	LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x8]
LBB0_2:
Lloh2:
	adrp	x8, _qsb_tstep@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qsb_tstep@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:
	cmp	w9, #4
	b.ls	LBB0_6
; %bb.4:
	mov	w9, #4
	b	LBB0_8
LBB0_5:
	mov	w9, #1
	b	LBB0_8
LBB0_6:
	cmp	w9, #3
	b.ne	LBB0_9
; %bb.7:
	mov	w9, #2
LBB0_8:
	str	w9, [x8]
LBB0_9:
Lloh4:
	adrp	x8, _write_descriptor_delay@GOTPAGE
Lloh5:
	ldr	x8, [x8, _write_descriptor_delay@GOTPAGEOFF]
	ldr	x9, [x8]
	tbz	x9, #63, LBB0_11
; %bb.10:
	str	xzr, [x8]
LBB0_11:
Lloh6:
	adrp	x8, _aal5_fill_pattern@GOTPAGE
Lloh7:
	ldr	x8, [x8, _aal5_fill_pattern@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w10, w9, #0xff
	cmp	w9, #0
	csel	w9, wzr, w10, lt
	str	w9, [x8]
Lloh8:
	adrp	x9, _aal5r_max_packet_size@GOTPAGE
Lloh9:
	ldr	x9, [x9, _aal5r_max_packet_size@GOTPAGEOFF]
	ldr	w8, [x9]
	tbnz	w8, #31, LBB0_13
; %bb.12:
Lloh10:
	adrp	x10, _MAX_RX_FRAME_EXTRA_BYTES@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MAX_RX_FRAME_EXTRA_BYTES@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	mov	w11, #65535
	sub	w10, w11, w10
	cmp	w8, w10
	b.ge	LBB0_14
	b	LBB0_15
LBB0_13:
	mov	w10, #0
LBB0_14:
	str	w10, [x9]
	mov	x8, x10
LBB0_15:
Lloh13:
	adrp	x9, _aal5r_min_packet_size@GOTPAGE
Lloh14:
	ldr	x9, [x9, _aal5r_min_packet_size@GOTPAGEOFF]
	ldr	w10, [x9]
	tbnz	w10, #31, LBB0_17
; %bb.16:
	cmp	w10, w8
	b.gt	LBB0_18
	b	LBB0_19
LBB0_17:
	mov	w8, #0
LBB0_18:
	str	w8, [x9]
LBB0_19:
Lloh15:
	adrp	x9, _aal5s_max_packet_size@GOTPAGE
Lloh16:
	ldr	x9, [x9, _aal5s_max_packet_size@GOTPAGEOFF]
	ldr	w8, [x9]
	tbnz	w8, #31, LBB0_21
; %bb.20:
Lloh17:
	adrp	x10, _MAX_TX_FRAME_EXTRA_BYTES@GOTPAGE
Lloh18:
	ldr	x10, [x10, _MAX_TX_FRAME_EXTRA_BYTES@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	mov	w11, #65535
	sub	w10, w11, w10
	cmp	w8, w10
	b.ge	LBB0_22
	b	LBB0_23
LBB0_21:
	mov	w10, #0
LBB0_22:
	str	w10, [x9]
	mov	x8, x10
LBB0_23:
Lloh20:
	adrp	x9, _aal5s_min_packet_size@GOTPAGE
Lloh21:
	ldr	x9, [x9, _aal5s_min_packet_size@GOTPAGEOFF]
	ldr	w10, [x9]
	tbnz	w10, #31, LBB0_25
; %bb.24:
	cmp	w10, w8
	b.gt	LBB0_26
	b	LBB0_27
LBB0_25:
	mov	w8, #0
LBB0_26:
	str	w8, [x9]
LBB0_27:
Lloh22:
	adrp	x9, _dma_rx_descriptor_length@GOTPAGE
Lloh23:
	ldr	x9, [x9, _dma_rx_descriptor_length@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.gt	LBB0_29
; %bb.28:
	mov	w8, #2
	str	w8, [x9]
LBB0_29:
Lloh24:
	adrp	x9, _dma_tx_descriptor_length@GOTPAGE
Lloh25:
	ldr	x9, [x9, _dma_tx_descriptor_length@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w10, #1
	b.gt	LBB0_31
; %bb.30:
	mov	w10, #2
	str	w10, [x9]
LBB0_31:
Lloh26:
	adrp	x9, _dma_rx_clp1_descriptor_threshold@GOTPAGE
Lloh27:
	ldr	x9, [x9, _dma_rx_clp1_descriptor_threshold@GOTPAGEOFF]
	ldr	w10, [x9]
	tbnz	w10, #31, LBB0_34
; %bb.32:
	cmp	w10, w8
	b.hi	LBB0_35
; %bb.33:
	ret
LBB0_34:
	mov	w8, #0
LBB0_35:
	str	w8, [x9]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_qsb_tau,4,2                    ; @qsb_tau
	.comm	_qsb_tstep,4,2                  ; @qsb_tstep
	.comm	_write_descriptor_delay,8,3     ; @write_descriptor_delay
	.comm	_aal5_fill_pattern,4,2          ; @aal5_fill_pattern
	.comm	_aal5r_max_packet_size,4,2      ; @aal5r_max_packet_size
	.comm	_MAX_RX_FRAME_EXTRA_BYTES,4,2   ; @MAX_RX_FRAME_EXTRA_BYTES
	.comm	_aal5r_min_packet_size,4,2      ; @aal5r_min_packet_size
	.comm	_aal5s_max_packet_size,4,2      ; @aal5s_max_packet_size
	.comm	_MAX_TX_FRAME_EXTRA_BYTES,4,2   ; @MAX_TX_FRAME_EXTRA_BYTES
	.comm	_aal5s_min_packet_size,4,2      ; @aal5s_min_packet_size
	.comm	_dma_rx_descriptor_length,4,2   ; @dma_rx_descriptor_length
	.comm	_dma_tx_descriptor_length,4,2   ; @dma_tx_descriptor_length
	.comm	_dma_rx_clp1_descriptor_threshold,4,2 ; @dma_rx_clp1_descriptor_threshold
	.no_dead_strip	_check_parameters
.subsections_via_symbols
