	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wmm_ac_direction_to_idx
_wmm_ac_direction_to_idx:               ## @wmm_ac_direction_to_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$130, %edi
	je	LBB0_5
## %bb.1:
	movl	%edi, %edx
	cmpl	$129, %edi
	je	LBB0_6
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_7
## %bb.3:
	movq	_TS_DIR_IDX_UPLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_TS_DIR_IDX_BIDI@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_TS_DIR_IDX_DOWNLINK@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$128, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_DIR_IDX_UPLINK,4,2          ## @TS_DIR_IDX_UPLINK
	.comm	_TS_DIR_IDX_DOWNLINK,4,2        ## @TS_DIR_IDX_DOWNLINK
	.comm	_TS_DIR_IDX_BIDI,4,2            ## @TS_DIR_IDX_BIDI
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid direction: %d"

	.no_dead_strip	_wmm_ac_direction_to_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wmm_ac_direction_to_idx
_wmm_ac_direction_to_idx:               ; @wmm_ac_direction_to_idx
	.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
	cmp	w0, #130
	b.eq	LBB0_4
; %bb.1:
	mov	x2, x0
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _TS_DIR_IDX_UPLINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TS_DIR_IDX_UPLINK@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _TS_DIR_IDX_BIDI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TS_DIR_IDX_BIDI@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _TS_DIR_IDX_DOWNLINK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TS_DIR_IDX_DOWNLINK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #128
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_DIR_IDX_UPLINK,4,2          ; @TS_DIR_IDX_UPLINK
	.comm	_TS_DIR_IDX_DOWNLINK,4,2        ; @TS_DIR_IDX_DOWNLINK
	.comm	_TS_DIR_IDX_BIDI,4,2            ; @TS_DIR_IDX_BIDI
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid direction: %d"

	.no_dead_strip	_wmm_ac_direction_to_idx
.subsections_via_symbols
