	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redact_sensitive_header
_redact_sensitive_header:               ## @redact_sensitive_header
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:
	movq	-48(%rbp), %rax
	movsbl	(%rax), %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_4
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movsbl	1(%rax), %edi
	jmp	LBB0_3
LBB0_4:
	movq	-48(%rbp), %rsi
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isspace
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rcx), %rsi
	movq	%rsi, -48(%rbp)
	movzbl	1(%rcx), %eax
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	%rcx, %rsi
LBB0_8:
	movslq	(%rbx), %rax
	subq	%rax, %rsi
	movq	%rbx, %rdi
	callq	_strbuf_setlen
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strbuf_addstr
LBB0_29:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_cookies_to_redact@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_29
## %bb.10:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_29
## %bb.11:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	-48(%rbp), %rax
	movsbl	(%rax), %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movsbl	1(%rax), %edi
	jmp	LBB0_13
LBB0_14:
	movq	-48(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_15
## %bb.16:
	leaq	L_.str.4(%rip), %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
	callq	_strbuf_addstr
	testq	%r13, %r13
	je	LBB0_27
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_strstr
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movb	$0, (%r12)
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	movl	$61, %esi
	callq	_strchrnul
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rax, %r15
	movb	$0, (%rax)
	movq	_cookies_to_redact@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_string_list_lookup
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_strbuf_addstr
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	movb	$61, (%r15)
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	callq	_strbuf_addstr
	testq	%r12, %r12
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strbuf_addstr
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%rax, %r12
	movq	%r12, %r13
	testq	%r13, %r13
	jne	LBB0_17
LBB0_27:
	movq	-48(%rbp), %rsi
	jmp	LBB0_28
LBB0_15:
	xorl	%esi, %esi
LBB0_28:
	movslq	(%rbx), %rax
	subq	%rax, %rsi
	movq	%rbx, %rdi
	callq	_strbuf_setlen
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strbuf_addbuf
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Authorization:"

L_.str.1:                               ## @.str.1
	.asciz	"Proxy-Authorization:"

L_.str.2:                               ## @.str.2
	.asciz	" <redacted>"

	.comm	_cookies_to_redact,8,3          ## @cookies_to_redact
L_.str.3:                               ## @.str.3
	.asciz	"Cookie:"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.4:                               ## @.str.4
	.asciz	"; "

L_.str.5:                               ## @.str.5
	.asciz	"=<redacted>"

	.no_dead_strip	_redact_sensitive_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redact_sensitive_header
_redact_sensitive_header:               ; @redact_sensitive_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_10
LBB0_2:
	ldr	x8, [sp, #8]
	ldrsb	w0, [x8]
	bl	_isspace
	cbz	x0, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsb	w0, [x8, #1]
	bl	_isspace
	cbnz	x0, LBB0_3
LBB0_4:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w9
	bl	_isspace
	ldr	x8, [sp, #8]
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x8, #1
	str	x10, [sp, #8]
	ldrb	w9, [x8, #1]
	cbnz	w9, LBB0_5
; %bb.7:
	mov	x8, x10
LBB0_8:
	ldrsw	x9, [x19]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_strbuf_setlen
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strbuf_addstr
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
	add	sp, sp, #96
	ret
LBB0_10:
Lloh6:
	adrp	x8, _cookies_to_redact@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cookies_to_redact@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.11:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_9
; %bb.12:
Lloh11:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	x8, [sp, #8]
	ldrsb	w0, [x8]
	bl	_isspace
	cbz	x0, LBB0_14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsb	w0, [x8, #1]
	bl	_isspace
	cbnz	x0, LBB0_13
LBB0_14:
	ldr	x23, [sp, #8]
	cbz	x23, LBB0_25
; %bb.15:
Lloh14:
	adrp	x20, l_.str.4@PAGE
Lloh15:
	add	x20, x20, l_.str.4@PAGEOFF
	mov	w26, #61
Lloh16:
	adrp	x21, _cookies_to_redact@GOTPAGE
Lloh17:
	ldr	x21, [x21, _cookies_to_redact@GOTPAGEOFF]
Lloh18:
	adrp	x22, l_.str.5@PAGE
Lloh19:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, sp
	mov	x1, x23
	bl	_strbuf_addstr
	cbz	x23, LBB0_24
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_strstr
	mov	x24, x0
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	strb	wzr, [x24]
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x23
	mov	w1, #61
	bl	_strchrnul
	cbz	x0, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x25, x0
	strb	wzr, [x0]
	mov	x0, x21
	mov	x1, x23
	bl	_string_list_lookup
	cbz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, sp
	mov	x1, x23
	bl	_strbuf_addstr
	mov	x0, sp
	mov	x1, x22
	bl	_strbuf_addstr
	cbnz	x24, LBB0_23
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=1
	strb	w26, [x25]
	mov	x0, sp
	mov	x1, x23
	bl	_strbuf_addstr
	cbz	x24, LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, sp
	mov	x1, x20
	bl	_strbuf_addstr
	mov	x0, x20
	bl	_strlen
	add	x23, x24, w0, sxtw
	cbnz	x23, LBB0_17
LBB0_24:
	ldr	x8, [sp, #8]
	b	LBB0_26
LBB0_25:
	mov	x8, #0
LBB0_26:
	ldrsw	x9, [x19]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_strbuf_setlen
	mov	x1, sp
	mov	x0, x19
	bl	_strbuf_addbuf
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Authorization:"

l_.str.1:                               ; @.str.1
	.asciz	"Proxy-Authorization:"

l_.str.2:                               ; @.str.2
	.asciz	" <redacted>"

	.comm	_cookies_to_redact,8,3          ; @cookies_to_redact
l_.str.3:                               ; @.str.3
	.asciz	"Cookie:"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.4:                               ; @.str.4
	.asciz	"; "

l_.str.5:                               ; @.str.5
	.asciz	"=<redacted>"

	.no_dead_strip	_redact_sensitive_header
.subsections_via_symbols
