	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anqp_add_nai_realm_eap
_anqp_add_nai_realm_eap:                ## @anqp_add_nai_realm_eap
	.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, %r12
	movl	(%rsi), %esi
	callq	_wpabuf_put_u8
	cmpl	$0, (%r14)
	je	LBB0_6
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movl	(%r14), %eax
	cmpq	%rax, %r15
	jae	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	8(%r14), %r13
	leaq	(%r15,%r15,2), %rbx
	movl	(%r13,%rbx,8), %eax
	leal	(%rax,%rax,2), %esi
	addl	$2, %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movl	4(%r13,%rbx,8), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movl	(%r13,%rbx,8), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	cmpl	$0, (%r13,%rbx,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r13,%rbx,8), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_wpabuf_put_u8
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	incq	%rbx
	movl	(%r13), %eax
	cmpq	%rax, %rbx
	jb	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_anqp_add_nai_realm_eap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anqp_add_nai_realm_eap
_anqp_add_nai_realm_eap:                ; @anqp_add_nai_realm_eap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x1]
	bl	_wpabuf_put_u8
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x21, #0
	mov	w22, #24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19]
	cmp	x21, x8
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x25, [x19, #8]
	madd	x23, x21, x22, x25
	ldr	w8, [x23]
	add	w8, w8, w8, lsl #1
	add	w1, w8, #2
	mov	x0, x20
	bl	_wpabuf_put_u8
	ldr	w1, [x23, #4]
	mov	x0, x20
	bl	_wpabuf_put_u8
	ldr	w1, [x23]
	mov	x0, x20
	bl	_wpabuf_put_u8
	ldr	w8, [x23]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	madd	x8, x21, x22, x25
	add	x25, x8, #8
	add	x26, x8, #16
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25]
	lsl	x27, x24, #2
	ldr	w1, [x8, x27]
	mov	x0, x20
	bl	_wpabuf_put_u8
	mov	x0, x20
	mov	w1, #1
	bl	_wpabuf_put_u8
	ldr	x8, [x26]
	ldr	w1, [x8, x27]
	mov	x0, x20
	bl	_wpabuf_put_u8
	add	x24, x24, #1
	ldr	w8, [x23]
	cmp	x24, x8
	b.lo	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_anqp_add_nai_realm_eap
.subsections_via_symbols
