	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_rekey_gmk
_wpa_rekey_gmk:                         ## @wpa_rekey_gmk
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	movq	_WPA_GMK_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_random_get_bytes
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_3
LBB0_2:
	movq	_LOGGER_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wpa_auth_logger
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_hexdump_key
LBB0_3:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	leaq	_wpa_rekey_gmk(%rip), %rdx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_eloop_register_timeout         ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_GMK_LEN,4,2                ## @WPA_GMK_LEN
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get random data for WPA initialization."

	.comm	_LOGGER_DEBUG,4,2               ## @LOGGER_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"GMK rekeyd"

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

	.no_dead_strip	_wpa_rekey_gmk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_rekey_gmk
_wpa_rekey_gmk:                         ; @wpa_rekey_gmk
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x20, _WPA_GMK_LEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WPA_GMK_LEN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_random_get_bytes
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19]
	cbz	x0, LBB0_4
LBB0_2:
Lloh7:
	adrp	x2, _wpa_rekey_gmk@PAGE
Lloh8:
	add	x2, x2, _wpa_rekey_gmk@PAGEOFF
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eloop_register_timeout
LBB0_3:
Lloh9:
	adrp	x8, _LOGGER_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOGGER_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x3, l_.str.1@PAGE
Lloh13:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	bl	_wpa_auth_logger
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	w3, [x20]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_hexdump_key
	ldr	x0, [x19]
	cbnz	x0, LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_GMK_LEN,4,2                ; @WPA_GMK_LEN
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get random data for WPA initialization."

	.comm	_LOGGER_DEBUG,4,2               ; @LOGGER_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"GMK rekeyd"

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

	.no_dead_strip	_wpa_rekey_gmk
.subsections_via_symbols
