	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_config_remove_cred         ## -- Begin function wpa_config_remove_cred
	.p2align	4, 0x90
_wpa_config_remove_cred:                ## @wpa_config_remove_cred
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	%esi, (%rdi)
	jne	LBB0_5
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rcx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%esi, (%rdi)
	jne	LBB0_5
LBB0_3:
	leaq	8(%rcx), %rdx
	testq	%rcx, %rcx
	movq	8(%rdi), %rcx
	cmoveq	%rax, %rdx
	movq	%rcx, (%rdx)
	callq	_wpa_config_free_cred
	jmp	LBB0_7
LBB0_6:
	movl	$-1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_config_remove_cred         ; -- Begin function wpa_config_remove_cred
	.p2align	2
_wpa_config_remove_cred:                ; @wpa_config_remove_cred
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w9, [x0]
	cmp	w9, w1
	b.ne	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x0]
	cmp	w10, w1
	b.ne	LBB0_3
LBB0_5:
	ldr	x10, [x0, #8]
	add	x11, x9, #8
	cmp	x9, #0
	csel	x8, x8, x11, eq
	str	x10, [x8]
	bl	_wpa_config_free_cred
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
