	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_gtk_update
_wpa_gtk_update:                        ## @wpa_gtk_update
	.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
	movl	32(%rsi), %edi
	movl	40(%rsi), %esi
	movq	_WPA_NONCE_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_os_memcpy
	movl	40(%rbx), %edi
	movl	(%r15), %esi
	callq	_inc_byte_array
	movl	36(%rbx), %edi
	movl	(%r14), %edx
	movl	32(%rbx), %ecx
	movq	48(%rbx), %rax
	movslq	(%rbx), %rsi
	movl	-4(%rax,%rsi,4), %r8d
	movq	8(%rbx), %r9
	leaq	L_.str(%rip), %rsi
	callq	_wpa_gmk_to_gtk
	movq	%rax, %r14
	sarq	$63, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rcx
	movq	48(%rbx), %rax
	movslq	(%rbx), %rdx
	movl	-4(%rax,%rdx,4), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump_key
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_NONCE_LEN,4,2              ## @WPA_NONCE_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Group key expansion"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"GTK"

	.comm	_NO_MGMT_FRAME_PROTECTION,8,3   ## @NO_MGMT_FRAME_PROTECTION
	.no_dead_strip	_wpa_gtk_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_gtk_update
_wpa_gtk_update:                        ; @wpa_gtk_update
	.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
	ldr	w0, [x1, #32]
	ldr	w1, [x1, #40]
Lloh0:
	adrp	x21, _WPA_NONCE_LEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WPA_NONCE_LEN@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_os_memcpy
	ldr	w0, [x19, #40]
	ldr	w1, [x21]
	bl	_inc_byte_array
	ldr	w2, [x20]
	ldp	w3, w0, [x19, #32]
	ldr	x8, [x19, #48]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	ldur	w4, [x8, #-4]
	ldr	x5, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_gmk_to_gtk
	asr	x20, x0, #63
Lloh4:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x19, #48]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	ldur	w2, [x8, #-4]
	ldr	x3, [x19, #8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump_key
	mov	x0, x20
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_NONCE_LEN,4,2              ; @WPA_NONCE_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Group key expansion"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"GTK"

	.comm	_NO_MGMT_FRAME_PROTECTION,8,3   ; @NO_MGMT_FRAME_PROTECTION
	.no_dead_strip	_wpa_gtk_update
.subsections_via_symbols
