	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_ipqos                    ## -- Begin function parse_ipqos
	.p2align	4, 0x90
_parse_ipqos:                           ## @parse_ipqos
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	movq	_ipqos@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_3
LBB0_6:
	leaq	-32(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_strtol
	cmpb	$0, (%r15)
	je	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rcx
	cmpq	$256, %rax                      ## imm = 0x100
	movl	$-1, %edx
	movl	%eax, %esi
	cmovgel	%edx, %esi
	testq	%rax, %rax
	cmovsl	%edx, %esi
	cmpb	(%rcx), %bl
	sbbl	%ebx, %ebx
	orl	%esi, %ebx
	movl	%ebx, %r14d
	jmp	LBB0_8
LBB0_4:
	movl	(%rbx), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipqos,8,3                      ## @ipqos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_ipqos                    ; -- Begin function parse_ipqos
	.p2align	2
_parse_ipqos:                           ; @parse_ipqos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ipqos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipqos@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x20, #24]
	add	x20, x20, #16
	cbnz	x1, LBB0_2
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	bl	_strtol
	ldrb	w8, [x19]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cmp	x0, #255
	ccmp	x0, #0, #8, le
	ccmp	w8, #0, #0, ge
	csinv	w0, w0, wzr, eq
	b	LBB0_8
LBB0_6:
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	ldr	w0, [x20]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ipqos,8,3                      ; @ipqos
.subsections_via_symbols
