	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_wps_ap_pin_random      ## -- Begin function hostapd_wps_ap_pin_random
	.p2align	4, 0x90
_hostapd_wps_ap_pin_random:             ## @hostapd_wps_ap_pin_random
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rdi
	callq	_wps_generate_pin
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-20(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_os_snprintf
	movl	%r14d, -32(%rbp)
	movq	_wps_ap_pin_set@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_hostapd_wps_for_each
	movq	(%rbx), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08u"

	.comm	_wps_ap_pin_set,4,2             ## @wps_ap_pin_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_wps_ap_pin_random      ; -- Begin function hostapd_wps_ap_pin_random
	.p2align	2
_hostapd_wps_ap_pin_random:             ; @hostapd_wps_ap_pin_random
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #12
	bl	_wps_generate_pin
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	w3, [sp, #12]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_os_snprintf
	str	w20, [sp]
Lloh2:
	adrp	x8, _wps_ap_pin_set@GOTPAGE
Lloh3:
	ldr	x8, [x8, _wps_ap_pin_set@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_hostapd_wps_for_each
	ldr	x8, [x19]
	ldr	x0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08u"

	.comm	_wps_ap_pin_set,4,2             ; @wps_ap_pin_set
.subsections_via_symbols
