	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_ext_capab_byte
_hostapd_ext_capab_byte:                ## @hostapd_ext_capab_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rsi)
	cmpl	$8, %edx
	ja	LBB0_30
## %bb.1:
	movl	%edx, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	16(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movl	$1, (%rsi)
	movl	$5, %eax
	jmp	LBB0_5
LBB0_6:
	movq	(%rdi), %rcx
	cmpl	$0, 56(%rcx)
	je	LBB0_7
## %bb.8:
	movl	$16, (%rsi)
	movl	$48, %eax
	jmp	LBB0_9
LBB0_10:
	movq	(%rdi), %rcx
	cmpl	$0, 48(%rcx)
	je	LBB0_11
## %bb.12:
	movl	$2, (%rsi)
	movl	$10, %eax
	jmp	LBB0_13
LBB0_14:
	movq	(%rdi), %rcx
	movl	$128, %eax
	cmpl	$2, (%rcx)
	jne	LBB0_16
## %bb.15:
	movl	$8, (%rsi)
	movl	$136, %eax
LBB0_16:
	cmpl	$0, 40(%rcx)
	jne	LBB0_29
LBB0_30:
	popq	%rbp
	retq
LBB0_17:
	movq	(%rdi), %rcx
	cmpl	$0, 36(%rcx)
	je	LBB0_18
## %bb.19:
	movl	$1, (%rsi)
	movl	$1, %eax
	jmp	LBB0_20
LBB0_24:
	movq	(%rdi), %rcx
	movl	$1, %eax
	cmpl	$0, 24(%rcx)
	jne	LBB0_29
	jmp	LBB0_30
LBB0_25:
	movq	(%rdi), %rcx
	cmpl	$0, 20(%rcx)
	je	LBB0_26
## %bb.27:
	movl	$64, (%rsi)
	movl	$192, %eax
	cmpl	$0, 16(%rcx)
	jne	LBB0_29
	jmp	LBB0_30
LBB0_3:
	movl	$4, %eax
LBB0_5:
	movq	8(%rdi), %rcx
	movq	_WPA_DRIVER_FLAGS_AP_CSA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_29
	jmp	LBB0_30
LBB0_7:
	movl	$32, %eax
LBB0_9:
	cmpl	$0, 52(%rcx)
	jne	LBB0_29
	jmp	LBB0_30
LBB0_11:
	movl	$8, %eax
LBB0_13:
	cmpl	$0, 44(%rcx)
	jne	LBB0_29
	jmp	LBB0_30
LBB0_18:
	xorl	%eax, %eax
LBB0_20:
	movl	4(%rcx), %edx
	movq	_TDLS_PROHIBIT@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_22
## %bb.21:
	orl	$64, %eax
	movl	%eax, (%rsi)
	movl	4(%rcx), %edx
LBB0_22:
	movq	_TDLS_PROHIBIT_CHAN_SWITCH@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_30
## %bb.23:
	orl	$128, %eax
	jmp	LBB0_29
LBB0_26:
	movl	$128, %eax
	cmpl	$0, 16(%rcx)
	je	LBB0_30
LBB0_29:
	movl	%eax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_30
	.long	L0_0_set_24
	.long	L0_0_set_30
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_WPA_DRIVER_FLAGS_AP_CSA,4,2    ## @WPA_DRIVER_FLAGS_AP_CSA
	.comm	_TDLS_PROHIBIT,4,2              ## @TDLS_PROHIBIT
	.comm	_TDLS_PROHIBIT_CHAN_SWITCH,4,2  ## @TDLS_PROHIBIT_CHAN_SWITCH
	.comm	_WPA_PROTO_RSN,4,2              ## @WPA_PROTO_RSN
	.no_dead_strip	_hostapd_ext_capab_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_ext_capab_byte
_hostapd_ext_capab_byte:                ; @hostapd_ext_capab_byte
	.cfi_startproc
; %bb.0:
	str	wzr, [x1]
	cmp	w2, #8
	b.hi	LBB0_23
; %bb.1:
	mov	w8, w2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_24
; %bb.3:
	mov	w8, #1
	str	w8, [x1]
	mov	w8, #5
	b	LBB0_25
LBB0_4:
	ldr	x9, [x0]
	ldr	w8, [x9, #56]
	cbz	w8, LBB0_26
; %bb.5:
	mov	w8, #16
	str	w8, [x1]
	mov	w8, #48
	b	LBB0_27
LBB0_6:
	ldr	x9, [x0]
	ldr	w8, [x9, #48]
	cbz	w8, LBB0_28
; %bb.7:
	mov	w8, #2
	str	w8, [x1]
	mov	w8, #10
	b	LBB0_29
LBB0_8:
	ldr	x9, [x0]
	ldr	w8, [x9]
	cmp	w8, #2
	b.ne	LBB0_20
; %bb.9:
	mov	w8, #8
	str	w8, [x1]
	mov	w8, #136
	b	LBB0_21
LBB0_10:
	ldr	x9, [x0]
	ldr	w8, [x9, #36]
	cbz	w8, LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x1]
LBB0_12:
	ldr	w10, [x9, #4]
Lloh2:
	adrp	x11, _TDLS_PROHIBIT@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TDLS_PROHIBIT@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_14
; %bb.13:
	orr	w8, w8, #0x40
	str	w8, [x1]
	ldr	w10, [x9, #4]
LBB0_14:
Lloh5:
	adrp	x9, _TDLS_PROHIBIT_CHAN_SWITCH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TDLS_PROHIBIT_CHAN_SWITCH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_23
; %bb.15:
	orr	w8, w8, #0x80
	b	LBB0_22
LBB0_16:
	ldr	x8, [x0]
	ldr	w8, [x8, #24]
	cbz	w8, LBB0_23
; %bb.17:
	mov	w8, #1
	b	LBB0_22
LBB0_18:
	ldr	x9, [x0]
	ldr	w8, [x9, #20]
	cbz	w8, LBB0_30
; %bb.19:
	mov	w8, #64
	str	w8, [x1]
	mov	w8, #192
	ldr	w9, [x9, #16]
	cbnz	w9, LBB0_22
	b	LBB0_23
LBB0_20:
	mov	w8, #128
LBB0_21:
	ldr	w9, [x9, #40]
	cbz	w9, LBB0_23
LBB0_22:
	str	w8, [x1]
LBB0_23:
	ret
LBB0_24:
	mov	w8, #4
LBB0_25:
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _WPA_DRIVER_FLAGS_AP_CSA@GOTPAGE
Lloh9:
	ldr	x10, [x10, _WPA_DRIVER_FLAGS_AP_CSA@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_22
	b	LBB0_23
LBB0_26:
	mov	w8, #32
LBB0_27:
	ldr	w9, [x9, #52]
	cbnz	w9, LBB0_22
	b	LBB0_23
LBB0_28:
	mov	w8, #8
LBB0_29:
	ldr	w9, [x9, #44]
	cbnz	w9, LBB0_22
	b	LBB0_23
LBB0_30:
	mov	w8, #128
	ldr	w9, [x9, #16]
	cbnz	w9, LBB0_22
	b	LBB0_23
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_WPA_DRIVER_FLAGS_AP_CSA,4,2    ; @WPA_DRIVER_FLAGS_AP_CSA
	.comm	_TDLS_PROHIBIT,4,2              ; @TDLS_PROHIBIT
	.comm	_TDLS_PROHIBIT_CHAN_SWITCH,4,2  ; @TDLS_PROHIBIT_CHAN_SWITCH
	.comm	_WPA_PROTO_RSN,4,2              ; @WPA_PROTO_RSN
	.no_dead_strip	_hostapd_ext_capab_byte
.subsections_via_symbols
