	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fill_beacon                    ## -- Begin function fill_beacon
	.p2align	4, 0x90
_fill_beacon:                           ## @fill_beacon
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_IEEE80211_CAPINFO_ESS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	orb	%al, 14(%rsi)
	movl	4(%rdi), %edi
	callq	_strlen
	movl	%eax, %r15d
	movb	$0, 16(%rbx)
	leaq	18(%rbx), %rdi
	movb	%r15b, 17(%rbx)
	movl	4(%r14), %esi
	movl	%eax, %edx
	callq	_memcpy
	movslq	%r15d, %rcx
	movabsq	$72926257691624449, %rax        ## imm = 0x103160B84820401
	movq	%rax, 18(%rbx,%rcx)
	leaq	(%rbx,%rcx), %rax
	addq	$26, %rax
	movb	(%r14), %dl
	movb	%dl, 26(%rbx,%rcx)
	subl	%ebx, %eax
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CAPINFO_ESS,1,0      ## @IEEE80211_CAPINFO_ESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fill_beacon                    ; -- Begin function fill_beacon
	.p2align	2
_fill_beacon:                           ; @fill_beacon
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _IEEE80211_CAPINFO_ESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CAPINFO_ESS@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [x1, #14]
	orr	w8, w9, w8
	strb	w8, [x1, #14]
	ldr	w0, [x0, #4]
	bl	_strlen
	mov	x21, x0
	strb	wzr, [x19, #16]
	add	x22, x19, #18
	strb	w0, [x19, #17]
	ldr	w1, [x20, #4]
	mov	x0, x22
	mov	x2, x21
	bl	_memcpy
	add	x8, x22, w21, sxtw
	mov	x9, #1025
	movk	x9, #33922, lsl #16
	movk	x9, #5643, lsl #32
	movk	x9, #259, lsl #48
	str	x9, [x8]
	ldr	w9, [x20]
	strb	w9, [x8, #8]!
	sub	w8, w8, w19
	add	w0, w8, #1
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CAPINFO_ESS,1,0      ; @IEEE80211_CAPINFO_ESS
.subsections_via_symbols
