	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_scan_clone_params          ## -- Begin function wpa_scan_clone_params
	.p2align	4, 0x90
_wpa_scan_clone_params:                 ## @wpa_scan_clone_params
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$144, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.1:
	movq	%rax, %r14
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	136(%r12), %rcx
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	136(%r14), %rdx
	movq	%rax, 8(%rdx,%rbx)
	movq	136(%r12), %rcx
	movl	(%rcx,%rbx), %eax
	movl	%eax, (%rdx,%rbx)
	movq	(%r12), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	addq	$16, %rbx
	cmpq	%rax, %r15
	jae	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rcx,%rbx), %esi
	callq	_os_memdup
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_28
LBB0_2:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, (%r14)
	movq	128(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:
	movl	8(%r12), %esi
	callq	_os_memdup
	testq	%rax, %rax
	je	LBB0_28
## %bb.10:
	movq	%rax, 128(%r14)
	movl	8(%r12), %eax
	movl	%eax, 8(%r14)
LBB0_11:
	movq	120(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_int_array_len
                                        ## kill: def $eax killed $eax def $rax
	movq	120(%r12), %rdi
	leal	4(,%rax,4), %esi
	callq	_os_memdup
	movq	%rax, 120(%r14)
	testq	%rax, %rax
	je	LBB0_28
LBB0_13:
	movq	112(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.14:
	movl	12(%r12), %esi
	shll	$2, %esi
	callq	_os_memdup
	movq	%rax, 112(%r14)
	testq	%rax, %rax
	je	LBB0_28
## %bb.15:
	movl	12(%r12), %eax
	movl	%eax, 12(%r14)
LBB0_16:
	movl	104(%r12), %eax
	movl	%eax, 104(%r14)
	movl	100(%r12), %eax
	movl	%eax, 100(%r14)
	movl	96(%r12), %eax
	movl	%eax, 96(%r14)
	movups	80(%r12), %xmm0
	movups	%xmm0, 80(%r14)
	movl	16(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_19
## %bb.17:
	movq	72(%r12), %rdi
	shll	$2, %esi
	callq	_os_memdup
	movq	%rax, 72(%r14)
	testq	%rax, %rax
	je	LBB0_28
## %bb.18:
	movl	16(%r12), %eax
	movl	%eax, 16(%r14)
LBB0_19:
	movq	64(%r12), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:
	movq	%rax, 64(%r14)
	cmpq	$0, 56(%r12)
	je	LBB0_24
## %bb.21:
	cmpq	$0, 48(%r12)
	je	LBB0_24
## %bb.22:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	%edi, %edi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.23:
	movq	%rax, %r15
	movq	56(%r12), %rsi
	movl	(%rbx), %edx
	movq	%rax, %rdi
	callq	_os_memcpy
	movslq	(%rbx), %rdx
	leaq	(%r15,%rdx,4), %rdi
	movq	48(%r12), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_os_memcpy
	movq	%r15, 56(%r14)
	movslq	(%rbx), %rax
	leaq	(%r15,%rax,4), %rax
	movq	%rax, 48(%r14)
LBB0_24:
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.25:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_os_memdup
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	%rax, 40(%r14)
LBB0_27:
	movups	20(%r12), %xmm0
	movups	%xmm0, 20(%r14)
	jmp	LBB0_30
LBB0_28:
	movq	%r14, %rdi
	callq	_wpa_scan_free_params
LBB0_29:
	xorl	%r14d, %r14d
LBB0_30:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_scan_clone_params          ; -- Begin function wpa_scan_clone_params
	.p2align	2
_wpa_scan_clone_params:                 ; @wpa_scan_clone_params
	.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	x20, x0
	mov	w0, #144
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_28
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x21, #0
	mov	x22, #0
	ldr	x9, [x20, #136]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #136]
	add	x8, x8, x21
	str	x0, [x8, #8]
	ldr	x9, [x20, #136]
	ldr	w10, [x9, x21]
	str	w10, [x8]
	ldr	x8, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	add	x21, x21, #16
	cmp	x22, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x9, x21
	ldr	x0, [x10, #8]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x9, x21]
	bl	_os_memdup
	cbnz	x0, LBB0_3
	b	LBB0_27
LBB0_7:
	str	x8, [x19]
	ldr	x0, [x20, #128]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w1, [x20, #8]
	bl	_os_memdup
	cbz	x0, LBB0_27
; %bb.9:
	str	x0, [x19, #128]
	ldr	w8, [x20, #8]
	str	w8, [x19, #8]
LBB0_10:
	ldr	x0, [x20, #120]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_int_array_len
	ldr	x8, [x20, #120]
	lsl	w9, w0, #2
	add	w1, w9, #4
	mov	x0, x8
	bl	_os_memdup
	str	x0, [x19, #120]
	cbz	x0, LBB0_27
LBB0_12:
	ldr	x0, [x20, #112]
	cbz	x0, LBB0_15
; %bb.13:
	ldr	w8, [x20, #12]
	lsl	w1, w8, #2
	bl	_os_memdup
	str	x0, [x19, #112]
	cbz	x0, LBB0_27
; %bb.14:
	ldr	w8, [x20, #12]
	str	w8, [x19, #12]
LBB0_15:
	ldr	w8, [x20, #104]
	str	w8, [x19, #104]
	ldr	d0, [x20, #96]
	str	d0, [x19, #96]
	ldr	q0, [x20, #80]
	str	q0, [x19, #80]
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	ldr	x0, [x20, #72]
	lsl	w1, w8, #2
	bl	_os_memdup
	str	x0, [x19, #72]
	cbz	x0, LBB0_27
; %bb.17:
	ldr	w8, [x20, #16]
	str	w8, [x19, #16]
LBB0_18:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_23
; %bb.19:
	str	x8, [x19, #64]
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_23
; %bb.20:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_23
; %bb.21:
Lloh0:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	w0, w8, #1
	bl	_os_malloc
	cbz	x0, LBB0_27
; %bb.22:
	mov	x21, x0
	ldr	x1, [x20, #56]
	ldr	w2, [x22]
	bl	_os_memcpy
	ldrsw	x2, [x22]
	add	x0, x21, x2, lsl #2
	ldr	x1, [x20, #48]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_os_memcpy
	ldrsw	x8, [x22]
	add	x8, x21, x8, lsl #2
	stp	x8, x21, [x19, #48]
LBB0_23:
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_26
; %bb.24:
Lloh2:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_os_memdup
	cbz	x0, LBB0_27
; %bb.25:
	str	x0, [x19, #40]
LBB0_26:
	ldur	q0, [x20, #20]
	stur	q0, [x19, #20]
	b	LBB0_28
LBB0_27:
	mov	x0, x19
	bl	_wpa_scan_free_params
	mov	x19, #0
LBB0_28:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
