	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_check_ch_settings
_cpsw_check_ch_settings:                ## @cpsw_check_ch_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_2:
	cmpq	$0, 16(%rsi)
	je	LBB0_3
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	8(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:
	movq	(%rdi), %rdx
	cmpq	%rdx, %rax
	jg	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	jle	LBB0_9
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Maximum one tx/rx queue is allowed"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cpsw_check_ch_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_check_ch_settings
_cpsw_check_ch_settings:                ; @cpsw_check_ch_settings
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.6:
	ldr	x9, [x1, #8]
	cbz	x9, LBB0_3
; %bb.7:
	ldr	x10, [x0]
	cmp	x8, x10
	b.gt	LBB0_3
; %bb.8:
	cmp	x9, x10
	b.gt	LBB0_3
; %bb.9:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Maximum one tx/rx queue is allowed"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cpsw_check_ch_settings
.subsections_via_symbols
