	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_ext_capab          ## -- Begin function hostapd_eid_ext_capab
	.p2align	4, 0x90
_hostapd_eid_ext_capab:                 ## @hostapd_eid_ext_capab
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_TDLS_PROHIBIT@GOTPCREL(%rip), %rax
	movq	_TDLS_PROHIBIT_CHAN_SWITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	8(%rdi), %rax
	movl	$5, %ecx
	testl	%edx, (%rax)
	jne	LBB0_4
## %bb.1:
	movl	$4, %ecx
	cmpq	$0, 64(%rax)
	jne	LBB0_4
## %bb.2:
	movl	$3, %ecx
	cmpq	$0, 56(%rax)
	je	LBB0_3
LBB0_4:
	cmpq	$0, 40(%rax)
	jne	LBB0_6
LBB0_5:
	cmpq	$0, 48(%rax)
	movl	$7, %edx
	cmovel	%ecx, %edx
	cmpq	$0, 32(%rax)
	je	LBB0_7
LBB0_6:
	movl	$9, %edx
LBB0_7:
	movq	(%r15), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	cmovgl	%edx, %eax
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	movq	_WLAN_EID_EXT_CAPAB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	leaq	8(%r14), %r12
	movl	%eax, 4(%r14)
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	addq	$4, %r12
	cmpq	%rbx, %r13
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_hostapd_ext_capab_byte
	movq	(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rax), %rcx
	movl	(%rcx,%rbx,4), %ecx
	notl	%ecx
	andl	(%r12), %ecx
	movl	%ecx, (%r12)
	movq	16(%rax), %rax
	orl	(%rax,%rbx,4), %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_11
LBB0_12:
	leaq	(%r14,%r13,4), %rax
	addq	$8, %rax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -4(%rax)
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	-1(%r13), %rcx
	movl	%ecx, 4(%r14)
	addq	$-4, %rax
	cmpq	$1, %r13
	movq	%rcx, %r13
	jg	LBB0_13
	jmp	LBB0_16
LBB0_14:
	movq	%rax, %r14
LBB0_16:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	16(%r15), %rdx
	xorl	%ecx, %ecx
	cmpq	$0, (%rdx)
	setne	%cl
	cmpq	$0, 40(%rax)
	jne	LBB0_6
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_TDLS_PROHIBIT,4,2              ## @TDLS_PROHIBIT
	.comm	_TDLS_PROHIBIT_CHAN_SWITCH,4,2  ## @TDLS_PROHIBIT_CHAN_SWITCH
	.comm	_WLAN_EID_EXT_CAPAB,4,2         ## @WLAN_EID_EXT_CAPAB
	.comm	_WPA_PROTO_RSN,4,2              ## @WPA_PROTO_RSN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_ext_capab          ; -- Begin function hostapd_eid_ext_capab
	.p2align	2
_hostapd_eid_ext_capab:                 ; @hostapd_eid_ext_capab
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _TDLS_PROHIBIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TDLS_PROHIBIT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _TDLS_PROHIBIT_CHAN_SWITCH@GOTPAGE
Lloh4:
	ldr	x11, [x11, _TDLS_PROHIBIT_CHAN_SWITCH@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	mov	w9, #5
	ldr	x10, [x8, #40]
	cbnz	x10, LBB0_8
	b	LBB0_7
LBB0_2:
	ldr	x9, [x8, #64]
	cbz	x9, LBB0_4
; %bb.3:
	mov	w9, #4
	ldr	x10, [x8, #40]
	cbnz	x10, LBB0_8
	b	LBB0_7
LBB0_4:
	ldr	x9, [x8, #56]
	cbz	x9, LBB0_6
; %bb.5:
	mov	w9, #3
	ldr	x10, [x8, #40]
	cbnz	x10, LBB0_8
	b	LBB0_7
LBB0_6:
	ldr	x9, [x20, #16]
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	ldr	x10, [x8, #40]
	cbnz	x10, LBB0_8
LBB0_7:
	ldr	x10, [x8, #48]
	cmp	x10, #0
	mov	w10, #7
	csel	w9, w9, w10, eq
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_9
LBB0_8:
	mov	w9, #9
LBB0_9:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w9, w8
	csel	w23, w9, w8, gt
	cbz	w23, LBB0_18
; %bb.10:
	mov	x21, #0
Lloh6:
	adrp	x8, _WLAN_EID_EXT_CAPAB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WLAN_EID_EXT_CAPAB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	x22, x19, #8
	stp	w8, w23, [x19]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #1
	add	x22, x22, #4
	cmp	x23, x21
	b.eq	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_hostapd_ext_capab_byte
	ldr	x8, [x20]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.ge	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	lsl	x9, x21, #2
	ldp	x10, x8, [x8, #8]
	ldr	w10, [x10, x9]
	ldr	w11, [x22]
	bic	w10, w11, w10
	str	w10, [x22]
	ldr	w8, [x8, x9]
	orr	w8, w8, w10
	str	w8, [x22]
	b	LBB0_11
LBB0_14:
	add	x8, x19, x23, lsl #2
	add	x8, x8, #8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x8, #-4]
	cbnz	w9, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	x8, x8, #4
	subs	x23, x23, #1
	str	w23, [x19, #4]
	b.gt	LBB0_15
	b	LBB0_18
LBB0_17:
	mov	x19, x8
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TDLS_PROHIBIT,4,2              ; @TDLS_PROHIBIT
	.comm	_TDLS_PROHIBIT_CHAN_SWITCH,4,2  ; @TDLS_PROHIBIT_CHAN_SWITCH
	.comm	_WLAN_EID_EXT_CAPAB,4,2         ; @WLAN_EID_EXT_CAPAB
	.comm	_WPA_PROTO_RSN,4,2              ; @WPA_PROTO_RSN
.subsections_via_symbols
