	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_ht_capabilities    ## -- Begin function hostapd_eid_ht_capabilities
	.p2align	4, 0x90
_hostapd_eid_ht_capabilities:           ## @hostapd_eid_ht_capabilities
	.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, %r14
	movq	(%rdi), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	movq	16(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.3:
	movq	_WLAN_EID_HT_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	leaq	8(%r14), %rdi
	movl	$72, 4(%r14)
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_os_memset
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_host_to_le16
	movq	%rax, 72(%r14)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 68(%r14)
	movl	64(%r14), %edi
	movl	(%rax), %esi
	movl	$16, %edx
	callq	_os_memcpy
	movq	(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_4
## %bb.5:
	movq	_WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 296(%r14)
	leaq	304(%r14), %rdi
	movl	$72, 300(%r14)
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_os_memset
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_host_to_le16
	movq	%rax, 352(%r14)
	movl	$20, %edi
	callq	_host_to_le16
	movq	%rax, 344(%r14)
	movl	$10, %edi
	callq	_host_to_le16
	movq	%rax, 336(%r14)
	movl	$200, %edi
	callq	_host_to_le16
	movq	%rax, 328(%r14)
	movl	$20, %edi
	callq	_host_to_le16
	movq	%rax, 320(%r14)
	movl	$5, %edi
	callq	_host_to_le16
	movq	%rax, 312(%r14)
	movl	$25, %edi
	callq	_host_to_le16
	movq	%rax, 304(%r14)
	addq	$592, %r14                      ## imm = 0x250
	jmp	LBB0_6
LBB0_4:
	addq	$296, %r14                      ## imm = 0x128
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_HT_CAP,4,2            ## @WLAN_EID_HT_CAP
	.comm	_WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS,4,2 ## @WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_ht_capabilities    ; -- Begin function hostapd_eid_ht_capabilities
	.p2align	2
_hostapd_eid_ht_capabilities:           ; @hostapd_eid_ht_capabilities
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x0]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _WLAN_EID_HT_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_HT_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x0, x19, #8
	mov	w21, #72
	stp	w8, w21, [x19]
	mov	w1, #0
	mov	w2, #72
	bl	_os_memset
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_host_to_le16
	str	x0, [x19, #72]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldp	w1, w9, [x8]
	str	w9, [x19, #68]
	ldr	w0, [x19, #64]
	mov	w2, #16
	bl	_os_memcpy
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #296]
	add	x0, x19, #304
	str	w21, [x19, #300]
	mov	w1, #0
	mov	w2, #72
	bl	_os_memset
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_host_to_le16
	str	x0, [x19, #352]
	mov	w0, #20
	bl	_host_to_le16
	str	x0, [x19, #344]
	mov	w0, #10
	bl	_host_to_le16
	str	x0, [x19, #336]
	mov	w0, #200
	bl	_host_to_le16
	str	x0, [x19, #328]
	mov	w0, #20
	bl	_host_to_le16
	str	x0, [x19, #320]
	mov	w0, #5
	bl	_host_to_le16
	str	x0, [x19, #312]
	mov	w0, #25
	bl	_host_to_le16
	str	x0, [x19, #304]
	add	x19, x19, #592
	b	LBB0_6
LBB0_5:
	add	x19, x19, #296
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_HT_CAP,4,2            ; @WLAN_EID_HT_CAP
	.comm	_WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS,4,2 ; @WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS
.subsections_via_symbols
