	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_adobe_auth
_do_adobe_auth:                         ## @do_adobe_auth
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -152(%rbp)                 ## 8-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$64, %edi
	callq	_AV_BASE64_SIZE
	movl	%eax, %r13d
	movq	%rsp, %rbx
	movl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_av_md5_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_av_get_random_seed
	leaq	L_.str(%rip), %rdx
	leaq	-122(%rbp), %rdi
	movl	$10, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r12, %rdi
	callq	_av_md5_init
	movq	%r14, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_av_md5_update
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_av_md5_update
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_av_md5_update
	leaq	-112(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_av_md5_final
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	$64, %ecx
	callq	_av_base64_encode
	movq	%r12, %rdi
	callq	_av_md5_init
	movq	%r15, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_av_md5_update
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r15, %r14
	jne	LBB0_4
## %bb.3:
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_av_md5_update
LBB0_5:
	leaq	-122(%rbp), %r15
	movq	%r15, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_av_md5_update
	leaq	-112(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_av_md5_final
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	$64, %ecx
	callq	_av_base64_encode
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movslq	8(%rbx), %rdi
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %r10
	xorl	%r14d, %r14d
	movl	$4, %esi
	movq	-160(%rbp), %r8                 ## 8-byte Reload
	movq	%r15, %r9
	xorl	%eax, %eax
	pushq	%r10
	callq	_snprintf
	addq	$16, %rsp
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rdx
	movl	$4, %esi
	callq	_av_strlcatf
LBB0_7:
	movq	%r12, %rdi
	callq	_av_free
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r14d
LBB0_8:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08x"

L_.str.1:                               ## @.str.1
	.asciz	"?authmod=%s&user=%s&challenge=%s&response=%s"

L_.str.2:                               ## @.str.2
	.asciz	"adobe"

L_.str.3:                               ## @.str.3
	.asciz	"&opaque=%s"

	.no_dead_strip	_do_adobe_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_adobe_auth
_do_adobe_auth:                         ; @do_adobe_auth
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
	mov	x25, x4
	mov	x19, x3
	mov	x26, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w0, #64
	bl	_AV_BASE64_SIZE
	mov	x23, x0
	mov	x27, sp
	mov	w8, w0
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	bl	_av_md5_alloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
	bl	_av_get_random_seed
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #162
	mov	w1, #10
	bl	_snprintf
	add	sp, sp, #16
	mov	x0, x22
	bl	_av_md5_init
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_av_md5_update
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x26
	bl	_av_md5_update
	ldr	x26, [x20]
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x26
	bl	_av_md5_update
	sub	x1, x29, #152
	mov	x0, x22
	bl	_av_md5_final
	sub	x2, x29, #152
	mov	x0, x24
	mov	x1, x23
	mov	w3, #64
	bl	_av_base64_encode
	mov	x0, x22
	bl	_av_md5_init
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x24
	bl	_av_md5_update
	mov	x26, x19
	cbnz	x19, LBB0_3
; %bb.2:
	mov	x26, x25
	cbz	x25, LBB0_4
LBB0_3:
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x26
	bl	_av_md5_update
LBB0_4:
	sub	x25, x29, #162
	sub	x0, x29, #162
	bl	_strlen
	mov	x2, x0
	sub	x1, x29, #162
	mov	x0, x22
	bl	_av_md5_update
	sub	x1, x29, #152
	mov	x0, x22
	bl	_av_md5_final
	sub	x2, x29, #152
	mov	x0, x24
	mov	x1, x23
	mov	w3, #64
	bl	_av_base64_encode
	ldrsw	x0, [x20, #8]
	sub	sp, sp, #32
	stp	x25, x24, [sp, #16]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, x21, [sp]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	add	sp, sp, #32
	cbz	x19, LBB0_6
; %bb.5:
	ldr	w0, [x20, #8]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #4
	mov	x3, x19
	bl	_av_strlcatf
LBB0_6:
	mov	x0, x22
	bl	_av_free
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_8:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08x"

l_.str.1:                               ; @.str.1
	.asciz	"?authmod=%s&user=%s&challenge=%s&response=%s"

l_.str.2:                               ; @.str.2
	.asciz	"adobe"

l_.str.3:                               ; @.str.3
	.asciz	"&opaque=%s"

	.no_dead_strip	_do_adobe_auth
.subsections_via_symbols
