	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_wext_giwmode          ## -- Begin function cfg80211_wext_giwmode
	.p2align	4, 0x90
_cfg80211_wext_giwmode:                 ## @cfg80211_wext_giwmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_IW_MODE_REPEAT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_IW_MODE_INFRA@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	_IW_MODE_MONITOR@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_IW_MODE_SECOND@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_IW_MODE_MASTER@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_IW_MODE_ADHOC@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_IW_MODE_AUTO@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IW_MODE_MASTER,4,2             ## @IW_MODE_MASTER
	.comm	_IW_MODE_INFRA,4,2              ## @IW_MODE_INFRA
	.comm	_IW_MODE_ADHOC,4,2              ## @IW_MODE_ADHOC
	.comm	_IW_MODE_MONITOR,4,2            ## @IW_MODE_MONITOR
	.comm	_IW_MODE_REPEAT,4,2             ## @IW_MODE_REPEAT
	.comm	_IW_MODE_SECOND,4,2             ## @IW_MODE_SECOND
	.comm	_IW_MODE_AUTO,4,2               ## @IW_MODE_AUTO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_wext_giwmode          ; -- Begin function cfg80211_wext_giwmode
	.p2align	2
_cfg80211_wext_giwmode:                 ; @cfg80211_wext_giwmode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	w0, #0
Lloh2:
	adrp	x8, _IW_MODE_REPEAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IW_MODE_REPEAT@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	mov	w0, #0
Lloh7:
	adrp	x8, _IW_MODE_INFRA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IW_MODE_INFRA@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	mov	w0, #0
Lloh9:
	adrp	x8, _IW_MODE_MONITOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IW_MODE_MONITOR@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	mov	w0, #0
Lloh11:
	adrp	x8, _IW_MODE_SECOND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IW_MODE_SECOND@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	mov	w0, #0
Lloh13:
	adrp	x8, _IW_MODE_MASTER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IW_MODE_MASTER@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
Lloh15:
	adrp	x8, _IW_MODE_ADHOC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IW_MODE_ADHOC@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	w0, #0
Lloh17:
	adrp	x8, _IW_MODE_AUTO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IW_MODE_AUTO@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x2]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IW_MODE_MASTER,4,2             ; @IW_MODE_MASTER
	.comm	_IW_MODE_INFRA,4,2              ; @IW_MODE_INFRA
	.comm	_IW_MODE_ADHOC,4,2              ; @IW_MODE_ADHOC
	.comm	_IW_MODE_MONITOR,4,2            ; @IW_MODE_MONITOR
	.comm	_IW_MODE_REPEAT,4,2             ; @IW_MODE_REPEAT
	.comm	_IW_MODE_SECOND,4,2             ; @IW_MODE_SECOND
	.comm	_IW_MODE_AUTO,4,2               ; @IW_MODE_AUTO
.subsections_via_symbols
