	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_config_check_cw
_hostapd_config_check_cw:               ## @hostapd_config_check_cw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movslq	%esi, %rax
	movl	(%rcx,%rax,8), %edx
	movl	4(%rcx,%rax,8), %ecx
	cmpl	%ecx, %edx
	jle	LBB0_2
## %bb.1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movq	(%rdi), %rcx
	movl	(%rcx,%rax,8), %edx
	movl	4(%rcx,%rax,8), %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	jle	LBB0_5
## %bb.3:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid TX queue cwMin/cwMax values. cwMin(%d) greater than cwMax(%d)"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid WMM AC cwMin/cwMax values. cwMin(%d) greater than cwMax(%d)"

	.no_dead_strip	_hostapd_config_check_cw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_config_check_cw
_hostapd_config_check_cw:               ; @hostapd_config_check_cw
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x9, [x0, #8]
	sbfiz	x8, x1, #3, #32
	add	x9, x9, x8
	ldp	w2, w3, [x9]
	cmp	w2, w3
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	x9, [x0]
	add	x8, x9, x8
	ldp	w2, w3, [x8]
	cmp	w2, w3
	b.le	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	bl	_wpa_printf
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid TX queue cwMin/cwMax values. cwMin(%d) greater than cwMax(%d)"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid WMM AC cwMin/cwMax values. cwMin(%d) greater than cwMax(%d)"

	.no_dead_strip	_hostapd_config_check_cw
.subsections_via_symbols
