	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_pton                       ## -- Begin function mac_pton
	.p2align	4, 0x90
_mac_pton:                              ## @mac_pton
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_strlen
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leal	(%rcx,%rcx,2), %edx
	decl	%edx
	xorl	%esi, %esi
	cmpl	%edx, %eax
	jl	LBB0_13
## %bb.1:
	movl	$1, %esi
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	2(%r13), %rbx
	xorl	%r15d, %r15d
	leaq	L_.str(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	addq	$3, %rbx
	cmpq	%rax, %r15
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-2(%rbx), %esi
	movq	%r12, %rdi
	callq	_strchr
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbl	-1(%rbx), %esi
	movq	%r12, %rdi
	callq	_strchr
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r14), %rax
	leal	-1(%rax), %ecx
	cmpq	%rcx, %r15
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$58, (%rbx)
	je	LBB0_6
LBB0_12:
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_7:
	testl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_10
## %bb.8:
	incq	%r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%r13), %edi
	callq	_hex_to_bin
	movl	%eax, %r15d
	shll	$4, %r15d
	movsbl	(%r13), %edi
	callq	_hex_to_bin
	orl	%r15d, %eax
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	addq	$3, %r13
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movl	$1, %esi
LBB0_13:
	movl	%esi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdefABCDEF"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_pton                       ; -- Begin function mac_pton
	.p2align	2
_mac_pton:                              ; @mac_pton
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
Lloh0:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w9, w8, w8, lsl #1
	sub	w9, w9, #1
	cmp	w0, w9
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_13
LBB0_2:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x23, #0
	add	x24, x20, #2
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	add	x24, x24, #3
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldursb	w1, [x24, #-2]
	mov	x0, x21
	bl	_strchr
	cbz	w0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldursb	w1, [x24, #-1]
	mov	x0, x21
	bl	_strchr
	cbz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [x22]
	sub	w9, w8, #1
	cmp	x23, x9
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w9, [x24]
	cmp	w9, #58
	b.eq	LBB0_4
	b	LBB0_1
LBB0_9:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
	add	x23, x20, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldursb	w0, [x23, #-1]
	bl	_hex_to_bin
	mov	x20, x0
	ldrsb	w0, [x23]
	bl	_hex_to_bin
	orr	w8, w0, w20, lsl #4
	str	w8, [x19, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	add	x23, x23, #3
	cmp	x21, x8
	b.lt	LBB0_11
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdefABCDEF"

.subsections_via_symbols
