	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_supp_rates         ## -- Begin function hostapd_eid_supp_rates
	.p2align	4, 0x90
_hostapd_eid_supp_rates:                ## @hostapd_eid_supp_rates
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	8(%rdi), %rcx
	movq	8(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_47
## %bb.1:
	movq	_WLAN_EID_SUPP_RATES@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rax)
	movl	(%rcx), %esi
	movq	(%rdi), %r10
	movq	24(%r10), %r9
	testq	%r9, %r9
	je	LBB0_3
## %bb.2:
	cmpq	$1, 16(%r10)
	sbbl	$-1, %esi
LBB0_3:
	movq	8(%r10), %r8
	testq	%r8, %r8
	je	LBB0_5
## %bb.4:
	cmpq	$1, (%r10)
	sbbl	$-1, %esi
LBB0_5:
	cmpl	$8, %esi
	movl	$8, %edi
	cmovll	%esi, %edi
	leaq	8(%rax), %r14
	movl	%edi, 4(%rax)
	xorl	%ebx, %ebx
	cmpl	$0, (%rcx)
	jle	LBB0_38
## %bb.6:
	testl	%esi, %esi
	jle	LBB0_38
## %bb.7:
	movslq	(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movq	_HOSTAPD_RATE_BASIC@GOTPCREL(%rip), %r11
	movl	(%r11), %ebx
	testl	%ebx, 4(%rdx)
	je	LBB0_9
## %bb.8:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_9:
	leaq	12(%rax), %r14
	cmpl	$2, (%rcx)
	movl	$1, %ebx
	jl	LBB0_38
## %bb.10:
	cmpl	$2, %edi
	jl	LBB0_38
## %bb.11:
	movslq	8(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r11), %ebx
	testl	%ebx, 12(%rdx)
	je	LBB0_13
## %bb.12:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_13:
	leaq	16(%rax), %r14
	cmpl	$3, (%rcx)
	movl	$2, %ebx
	jl	LBB0_38
## %bb.14:
	cmpl	$3, %edi
	jl	LBB0_38
## %bb.15:
	movslq	16(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r11), %ebx
	testl	%ebx, 20(%rdx)
	je	LBB0_17
## %bb.16:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_17:
	leaq	20(%rax), %r14
	cmpl	$4, (%rcx)
	movl	$3, %ebx
	jl	LBB0_38
## %bb.18:
	cmpl	$4, %edi
	jl	LBB0_38
## %bb.19:
	movslq	24(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r11), %ebx
	testl	%ebx, 28(%rdx)
	je	LBB0_21
## %bb.20:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_21:
	leaq	24(%rax), %r14
	cmpl	$5, (%rcx)
	movl	$4, %ebx
	jl	LBB0_38
## %bb.22:
	cmpl	$5, %edi
	jl	LBB0_38
## %bb.23:
	movslq	32(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r11), %ebx
	testl	%ebx, 36(%rdx)
	je	LBB0_25
## %bb.24:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_25:
	leaq	28(%rax), %r14
	cmpl	$6, (%rcx)
	movl	$5, %ebx
	jl	LBB0_38
## %bb.26:
	cmpl	$6, %edi
	jl	LBB0_38
## %bb.27:
	movslq	40(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r11), %ebx
	testl	%ebx, 44(%rdx)
	je	LBB0_29
## %bb.28:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_29:
	leaq	32(%rax), %r14
	cmpl	$7, (%rcx)
	movl	$6, %ebx
	jl	LBB0_38
## %bb.30:
	cmpl	$7, %edi
	jl	LBB0_38
## %bb.31:
	movslq	48(%rdx), %rsi
	imulq	$1717986919, %rsi, %rsi         ## imm = 0x66666667
	movq	%rsi, %rbx
	shrq	$63, %rbx
	sarq	$33, %rsi
	addl	%ebx, %esi
	movl	%esi, (%r14)
	movl	(%r11), %ebx
	testl	%ebx, 52(%rdx)
	je	LBB0_33
## %bb.32:
	orl	$128, %esi
	movl	%esi, (%r14)
LBB0_33:
	leaq	36(%rax), %r14
	cmpl	$8, (%rcx)
	movl	$7, %ebx
	jl	LBB0_38
## %bb.34:
	cmpl	$8, %edi
	jl	LBB0_38
## %bb.35:
	movslq	56(%rdx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$33, %rcx
	addl	%esi, %ecx
	movl	%ecx, (%r14)
	movl	(%r11), %esi
	testl	%esi, 60(%rdx)
	je	LBB0_37
## %bb.36:
	orl	$128, %ecx
	movl	%ecx, (%r14)
LBB0_37:
	addq	$40, %rax
	movl	$8, %ebx
	movq	%rax, %r14
LBB0_38:
	testq	%r9, %r9
	je	LBB0_42
## %bb.39:
	cmpq	$0, 16(%r10)
	je	LBB0_42
## %bb.40:
	cmpl	$7, %ebx
	ja	LBB0_42
## %bb.41:
	incl	%ebx
	movq	_BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPCREL(%rip), %rax
	movl	$128, %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	addq	$4, %r14
LBB0_42:
	testq	%r8, %r8
	je	LBB0_46
## %bb.43:
	cmpq	$0, (%r10)
	je	LBB0_46
## %bb.44:
	cmpl	$7, %ebx
	jg	LBB0_46
## %bb.45:
	movq	_BSS_MEMBERSHIP_SELECTOR_VHT_PHY@GOTPCREL(%rip), %rax
	movl	$128, %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	addq	$4, %r14
LBB0_46:
	movq	%r14, %rax
LBB0_47:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_SUPP_RATES,4,2        ## @WLAN_EID_SUPP_RATES
	.comm	_HOSTAPD_RATE_BASIC,4,2         ## @HOSTAPD_RATE_BASIC
	.comm	_BSS_MEMBERSHIP_SELECTOR_HT_PHY,4,2 ## @BSS_MEMBERSHIP_SELECTOR_HT_PHY
	.comm	_BSS_MEMBERSHIP_SELECTOR_VHT_PHY,4,2 ## @BSS_MEMBERSHIP_SELECTOR_VHT_PHY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_supp_rates         ; -- Begin function hostapd_eid_supp_rates
	.p2align	2
_hostapd_eid_supp_rates:                ; @hostapd_eid_supp_rates
	.cfi_startproc
; %bb.0:
	ldr	x12, [x0, #8]
	ldr	x15, [x12, #8]
	cbz	x15, LBB0_14
; %bb.1:
Lloh0:
	adrp	x8, _WLAN_EID_SUPP_RATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_SUPP_RATES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1]
	ldr	w13, [x12]
	ldr	x8, [x0]
	ldr	x11, [x8, #24]
	cbz	x11, LBB0_3
; %bb.2:
	ldr	x9, [x8, #16]
	cmp	x9, #0
	cinc	w13, w13, ne
LBB0_3:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x10, [x8]
	cmp	x10, #0
	cinc	w13, w13, ne
LBB0_5:
	mov	w10, #8
	cmp	w13, #8
	csel	w14, w13, w10, lt
	add	x10, x1, #8
	str	w14, [x1, #4]
	ldr	w16, [x12]
	cmp	w16, #1
	ccmp	w13, #1, #8, ge
	b.ge	LBB0_15
; %bb.6:
	mov	w13, #0
LBB0_7:
	cbz	x11, LBB0_10
; %bb.8:
	ldr	x11, [x8, #16]
	cmp	x11, #0
	ccmp	w13, #7, #2, ne
	b.hi	LBB0_10
; %bb.9:
	add	w13, w13, #1
Lloh3:
	adrp	x11, _BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPAGE
Lloh4:
	ldr	x11, [x11, _BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w11, w11, #0x80
	str	w11, [x10], #4
LBB0_10:
	cbz	x9, LBB0_13
; %bb.11:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w13, #7, #0, ne
	b.gt	LBB0_13
; %bb.12:
Lloh6:
	adrp	x8, _BSS_MEMBERSHIP_SELECTOR_VHT_PHY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BSS_MEMBERSHIP_SELECTOR_VHT_PHY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, #0x80
	str	w8, [x10], #4
LBB0_13:
	mov	x1, x10
LBB0_14:
	mov	x0, x1
	ret
LBB0_15:
	mov	x13, #0
	add	x15, x15, #4
	mov	w16, #26215
	movk	w16, #26214, lsl #16
Lloh9:
	adrp	x17, _HOSTAPD_RATE_BASIC@GOTPAGE
Lloh10:
	ldr	x17, [x17, _HOSTAPD_RATE_BASIC@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x13, x13, #1
	add	x10, x10, #4
	ldrsw	x0, [x12]
	add	x15, x15, #8
	cmp	x13, x0
	ccmp	w14, w13, #4, lt
	b.le	LBB0_7
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldursw	x0, [x15, #-4]
	mul	x0, x0, x16
	lsr	x1, x0, #63
	asr	x0, x0, #33
	add	w0, w0, w1
	str	w0, [x10]
	ldr	w1, [x15]
	ldr	w2, [x17]
	tst	w2, w1
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	orr	w0, w0, #0x80
	str	w0, [x10]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_SUPP_RATES,4,2        ; @WLAN_EID_SUPP_RATES
	.comm	_HOSTAPD_RATE_BASIC,4,2         ; @HOSTAPD_RATE_BASIC
	.comm	_BSS_MEMBERSHIP_SELECTOR_HT_PHY,4,2 ; @BSS_MEMBERSHIP_SELECTOR_HT_PHY
	.comm	_BSS_MEMBERSHIP_SELECTOR_VHT_PHY,4,2 ; @BSS_MEMBERSHIP_SELECTOR_VHT_PHY
.subsections_via_symbols
