	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xdigit2bin
_xdigit2bin:                            ## @xdigit2bin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	testb	%al, %al
	je	LBB0_16
## %bb.1:
	cmpl	%esi, %eax
	je	LBB0_16
## %bb.2:
	cmpb	$46, %al
	je	LBB0_5
## %bb.3:
	cmpb	$58, %al
	jne	LBB0_6
## %bb.4:
	movq	_IN6PTON_COLON_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_5:
	movq	_IN6PTON_DOT@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_8
## %bb.7:
	movq	_IN6PTON_XDIGIT@GOTPCREL(%rip), %rcx
	movq	_IN6PTON_DIGIT@GOTPCREL(%rip), %rdx
	movb	(%rdx), %dl
	orb	(%rcx), %dl
	movsbl	%dl, %ecx
	addl	$-48, %eax
	jmp	LBB0_10
LBB0_8:
	leal	-97(%rax), %ecx
	cmpb	$5, %cl
	ja	LBB0_12
## %bb.9:
	movq	_IN6PTON_XDIGIT@GOTPCREL(%rip), %rcx
	movsbl	(%rcx), %ecx
	addl	$-87, %eax
	jmp	LBB0_10
LBB0_12:
	leal	-65(%rax), %ecx
	cmpb	$5, %cl
	ja	LBB0_14
## %bb.13:
	movq	_IN6PTON_XDIGIT@GOTPCREL(%rip), %rcx
	movsbl	(%rcx), %ecx
	addl	$-55, %eax
LBB0_10:
	orl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_14:
	cmpl	$-1, %esi
	je	LBB0_16
## %bb.15:
	movq	_IN6PTON_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_IN6PTON_DELIM@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IN6PTON_DELIM,4,2              ## @IN6PTON_DELIM
	.comm	_IN6PTON_COLON_MASK,4,2         ## @IN6PTON_COLON_MASK
	.comm	_IN6PTON_DOT,4,2                ## @IN6PTON_DOT
	.comm	_IN6PTON_XDIGIT,1,0             ## @IN6PTON_XDIGIT
	.comm	_IN6PTON_DIGIT,1,0              ## @IN6PTON_DIGIT
	.comm	_IN6PTON_UNKNOWN,4,2            ## @IN6PTON_UNKNOWN
	.no_dead_strip	_xdigit2bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xdigit2bin
_xdigit2bin:                            ; @xdigit2bin
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_14
; %bb.1:
	cmp	w0, w1
	b.eq	LBB0_14
; %bb.2:
	cmp	w0, #46
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #58
	b.ne	LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _IN6PTON_COLON_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IN6PTON_COLON_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh3:
	adrp	x8, _IN6PTON_DOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IN6PTON_DOT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_6:
	sub	w8, w0, #48
	cmp	w8, #9
	b.hi	LBB0_8
; %bb.7:
Lloh6:
	adrp	x9, _IN6PTON_XDIGIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IN6PTON_XDIGIT@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh8:
	adrp	x10, _IN6PTON_DIGIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IN6PTON_DIGIT@GOTPAGEOFF]
	ldrb	w10, [x10]
	orr	w9, w10, w9
	sxtb	w9, w9
	orr	w0, w8, w9
	ret
LBB0_8:
	sub	w8, w0, #97
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.9:
Lloh10:
	adrp	x8, _IN6PTON_XDIGIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IN6PTON_XDIGIT@GOTPAGEOFF]
Lloh12:
	ldrsb	w8, [x8]
	sub	w9, w0, #87
	orr	w0, w9, w8
	ret
LBB0_10:
	sub	w8, w0, #65
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _IN6PTON_XDIGIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IN6PTON_XDIGIT@GOTPAGEOFF]
Lloh15:
	ldrsb	w8, [x8]
	sub	w9, w0, #55
	orr	w0, w9, w8
	ret
LBB0_12:
	cmn	w1, #1
	b.eq	LBB0_14
; %bb.13:
Lloh16:
	adrp	x8, _IN6PTON_UNKNOWN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IN6PTON_UNKNOWN@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ret
LBB0_14:
Lloh19:
	adrp	x8, _IN6PTON_DELIM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IN6PTON_DELIM@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IN6PTON_DELIM,4,2              ; @IN6PTON_DELIM
	.comm	_IN6PTON_COLON_MASK,4,2         ; @IN6PTON_COLON_MASK
	.comm	_IN6PTON_DOT,4,2                ; @IN6PTON_DOT
	.comm	_IN6PTON_XDIGIT,1,0             ; @IN6PTON_XDIGIT
	.comm	_IN6PTON_DIGIT,1,0              ; @IN6PTON_DIGIT
	.comm	_IN6PTON_UNKNOWN,4,2            ; @IN6PTON_UNKNOWN
	.no_dead_strip	_xdigit2bin
.subsections_via_symbols
