	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_nliftype_to_drv_iftype
_ath6kl_nliftype_to_drv_iftype:         ## @ath6kl_nliftype_to_drv_iftype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_INFRA_NETWORK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_AP_NETWORK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_ath6kl_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_ADHOC_NETWORK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_INFRA_NETWORK,4,2              ## @INFRA_NETWORK
	.comm	_ADHOC_NETWORK,4,2              ## @ADHOC_NETWORK
	.comm	_AP_NETWORK,4,2                 ## @AP_NETWORK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid interface type %u\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_ath6kl_nliftype_to_drv_iftype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_nliftype_to_drv_iftype
_ath6kl_nliftype_to_drv_iftype:         ; @ath6kl_nliftype_to_drv_iftype
	.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
	sub	w9, w0, #128
	cmp	w9, #4
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #0
Lloh2:
	adrp	x8, _INFRA_NETWORK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INFRA_NETWORK@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	w0, #0
Lloh4:
	adrp	x8, _AP_NETWORK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AP_NETWORK@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x8, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_ath6kl_err
Lloh8:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
Lloh11:
	adrp	x8, _ADHOC_NETWORK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ADHOC_NETWORK@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x1]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_INFRA_NETWORK,4,2              ; @INFRA_NETWORK
	.comm	_ADHOC_NETWORK,4,2              ; @ADHOC_NETWORK
	.comm	_AP_NETWORK,4,2                 ; @AP_NETWORK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid interface type %u\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_ath6kl_nliftype_to_drv_iftype
.subsections_via_symbols
