	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_snprintf_hex_sep           ## -- Begin function wpa_snprintf_hex_sep
	.p2align	4, 0x90
_wpa_snprintf_hex_sep:                  ## @wpa_snprintf_hex_sep
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movq	%rdi, %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, -56(%rbp)                 ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	movsbl	%r8b, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	subl	%ebx, %r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	leaq	L_.str(%rip), %rdx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	callq	_os_snprintf
	movl	%eax, %r13d
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r13d, %rax
	addq	%rax, %rbx
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_4
LBB0_7:
	movb	$0, -1(%rbx)
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, -1(%rax)
LBB0_8:
	subl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
LBB0_9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x%c"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_snprintf_hex_sep           ; -- Begin function wpa_snprintf_hex_sep
	.p2align	2
_wpa_snprintf_hex_sep:                  ; @wpa_snprintf_hex_sep
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x21, x3
	mov	x19, x0
	mov	x23, x0
	cbz	x3, LBB0_5
; %bb.2:
	mov	x20, x4
	mov	x22, x2
	add	x27, x19, x1
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
	mov	x23, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w26, w27, w23
	ldr	w3, [x22]
	mov	x0, x23
	mov	x1, x26
	mov	x2, x24
	mov	x4, x20
	bl	_os_snprintf
	mov	x25, x0
	mov	x0, x26
	mov	x1, x25
	bl	_os_snprintf_error
	cbnz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, w25, sxtw
	add	x22, x22, #4
	subs	x21, x21, #1
	b.ne	LBB0_3
LBB0_5:
	sturb	wzr, [x23, #-1]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	sturb	wzr, [x27, #-1]
LBB0_8:
	sub	w0, w23, w19
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x%c"

.subsections_via_symbols
