	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scrub_message                  ## -- Begin function scrub_message
	.p2align	4, 0x90
_scrub_message:                         ## @scrub_message
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rdx), %r8
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_log_nametypeclass
	xorl	%ecx, %ecx
	cmpl	$1, (%r14)
	jg	LBB0_16
## %bb.1:
	movl	4(%r14), %edi
	movq	_BIT_QR@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_16
## %bb.2:
	movq	_BIT_AD@GOTPCREL(%rip), %rax
	movq	_BIT_Z@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %edi
	movl	%edi, 4(%r14)
	callq	_FLAGS_GET_RCODE
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movl	4(%r14), %edi
	callq	_FLAGS_GET_RCODE
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_4:
	movl	(%r14), %eax
	testl	%eax, %eax
	movq	%r14, %rcx
	jne	LBB0_7
	jmp	LBB0_15
LBB0_6:
	movl	(%r14), %eax
	movq	%r14, %rcx
LBB0_7:
	cmpl	$1, %eax
	movq	%r12, %r14
	movq	%r13, %r12
	movq	%rbx, %r13
	jne	LBB0_12
## %bb.8:
	movq	%rcx, %rbx
	movl	24(%rcx), %esi
	movl	16(%r13), %edx
	movq	%r15, %rdi
	callq	_dname_pkt_compare
	testq	%rax, %rax
	jne	LBB0_15
## %bb.10:
	movq	8(%rbx), %rax
	cmpq	8(%r13), %rax
	jne	LBB0_15
## %bb.11:
	movq	%rbx, %rcx
	movq	16(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_15
LBB0_12:
	movq	%r15, %rdi
	movq	%rcx, %rbx
	movq	%rcx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_scrub_normalize
	testl	%eax, %eax
	movl	$0, %ecx
	je	LBB0_16
## %bb.13:
	movq	16(%rbp), %r9
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_scrub_sanitize
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	jmp	LBB0_16
LBB0_15:
	xorl	%ecx, %ecx
LBB0_16:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scrub for"

	.comm	_LDNS_RR_TYPE_NS,4,2            ## @LDNS_RR_TYPE_NS
	.comm	_BIT_QR,4,2                     ## @BIT_QR
	.comm	_BIT_AD,4,2                     ## @BIT_AD
	.comm	_BIT_Z,4,2                      ## @BIT_Z
	.comm	_LDNS_RCODE_NOERROR,8,3         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ## @LDNS_RCODE_NXDOMAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scrub_message                  ; -- Begin function scrub_message
	.p2align	2
_scrub_message:                         ; @scrub_message
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x25, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	x4, [x2]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_log_nametypeclass
	ldr	w8, [x23]
	cmp	w8, #1
	b.gt	LBB0_12
; %bb.1:
	ldr	w8, [x23, #4]
Lloh8:
	adrp	x9, _BIT_QR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BIT_QR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.2:
Lloh11:
	adrp	x9, _BIT_AD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BIT_AD@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _BIT_Z@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BIT_Z@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w0, w8, w9
	str	w0, [x23, #4]
	bl	_FLAGS_GET_RCODE
Lloh17:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x23, #4]
	bl	_FLAGS_GET_RCODE
Lloh20:
	adrp	x8, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_4:
	ldr	w8, [x23]
	cbz	w8, LBB0_12
; %bb.5:
	cmp	w8, #1
	b.eq	LBB0_7
	b	LBB0_10
LBB0_6:
	ldr	w8, [x23]
	cmp	w8, #1
	b.ne	LBB0_10
LBB0_7:
	ldr	w1, [x23, #24]
	ldr	w2, [x22, #16]
	mov	x0, x24
	bl	_dname_pkt_compare
	cbnz	x0, LBB0_12
; %bb.8:
	ldr	x8, [x23, #8]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x23, #16]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x25
	bl	_scrub_normalize
	cbz	w0, LBB0_13
; %bb.11:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_scrub_sanitize
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scrub for"

	.comm	_LDNS_RR_TYPE_NS,4,2            ; @LDNS_RR_TYPE_NS
	.comm	_BIT_QR,4,2                     ; @BIT_QR
	.comm	_BIT_AD,4,2                     ; @BIT_AD
	.comm	_BIT_Z,4,2                      ; @BIT_Z
	.comm	_LDNS_RCODE_NOERROR,8,3         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ; @LDNS_RCODE_NXDOMAIN
.subsections_via_symbols
