	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_config_set_cred_roaming_consortiums
_wpa_config_set_cred_roaming_consortiums: ## @wpa_config_set_cred_roaming_consortiums
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_ROAMING_CONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MAX_ROAMING_CONS_OI_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rbx
	imulq	%rcx, %rbx
	movq	%rcx, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	shll	$2, %ebx
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	callq	_os_memset
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,8), %edx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	callq	_os_memset
	shlq	$2, %r14
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$44, %esi
	callq	_os_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rbx
	subq	%r12, %rbx
	sete	%al
	testb	%al, %al
	je	LBB0_6
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_os_strlen
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	xorl	%eax, %eax
	testb	%al, %al
	jne	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %eax
	andl	$1, %eax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	shrq	%rbx
	movq	_MAX_ROAMING_CONS_OI_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_hexstr2bin
	testq	%rax, %rax
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax,%r13,8)
	incq	%r13
	testq	%r14, %r14
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_MAX_ROAMING_CONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incq	%r14
	addq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	%r14, %r12
	cmpq	%rax, %r13
	jb	LBB0_1
## %bb.12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_14
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_14
LBB0_13:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_os_memcpy
	movl	4(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_os_memcpy
	movl	%r13d, (%rbx)
	xorl	%eax, %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ROAMING_CONS,4,2           ## @MAX_ROAMING_CONS
	.comm	_MAX_ROAMING_CONS_OI_LEN,4,2    ## @MAX_ROAMING_CONS_OI_LEN
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid roaming_consortiums entry: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Too many roaming_consortiums OIs"

	.no_dead_strip	_wpa_config_set_cred_roaming_consortiums
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_config_set_cred_roaming_consortiums
_wpa_config_set_cred_roaming_consortiums: ; @wpa_config_set_cred_roaming_consortiums
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x20, x1
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _MAX_ROAMING_CONS@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MAX_ROAMING_CONS@GOTPAGEOFF]
Lloh5:
	adrp	x19, _MAX_ROAMING_CONS_OI_LEN@GOTPAGE
Lloh6:
	ldr	x19, [x19, _MAX_ROAMING_CONS_OI_LEN@GOTPAGEOFF]
	ldr	w23, [x28]
	ldr	w24, [x19]
	mul	x12, x24, x23
	lsl	x9, x12, #2
	add	x8, x9, #15
	and	x8, x8, #0xfffffffffffffff0
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x21, x9, x8
	mov	sp, x21
	lsl	x8, x23, #3
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	lsl	w2, w12, #2
	mov	x0, x21
	mov	w1, #0
	stur	w2, [x29, #-100]                ; 4-byte Folded Spill
	bl	_os_memset
	lsl	w2, w23, #3
	mov	x0, x22
	mov	w1, #0
	stur	w2, [x29, #-104]                ; 4-byte Folded Spill
	bl	_os_memset
	mov	x23, #0
	lsl	x24, x24, #2
	mov	x25, x21
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #44
	bl	_os_strchr
	mov	x26, x0
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	x0, x26, x20
	cset	w8, eq
	tbz	w8, #0, LBB0_5
	b	LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_os_strlen
	cbz	x0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #0
	tbnz	w8, #0, LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	tbnz	w0, #0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	lsr	x27, x0, #1
	ldrsw	x8, [x19]
	cmp	x27, x8
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x27
	bl	_hexstr2bin
	tbnz	x0, #63, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x27, [x22, x23, lsl #3]
	add	x23, x23, #1
	cbz	x26, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28]
	add	x20, x26, #1
	add	x25, x25, x24
	cmp	x23, x8
	b.lo	LBB0_1
; %bb.10:
Lloh11:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_13
LBB0_11:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	str	x20, [sp, #-16]!
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	mov	w0, #-1
	b	LBB0_13
LBB0_12:
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	ldr	w0, [x19, #8]
	mov	x1, x21
	ldur	w2, [x29, #-100]                ; 4-byte Folded Reload
	bl	_os_memcpy
	ldr	w0, [x19, #4]
	mov	x1, x22
	ldur	w2, [x29, #-104]                ; 4-byte Folded Reload
	bl	_os_memcpy
	mov	w0, #0
	str	w23, [x19]
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ROAMING_CONS,4,2           ; @MAX_ROAMING_CONS
	.comm	_MAX_ROAMING_CONS_OI_LEN,4,2    ; @MAX_ROAMING_CONS_OI_LEN
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid roaming_consortiums entry: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Too many roaming_consortiums OIs"

	.no_dead_strip	_wpa_config_set_cred_roaming_consortiums
.subsections_via_symbols
