	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function register_sha1_callback
_register_sha1_callback:                ## @register_sha1_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdx
	callq	_PyArg_ParseTuple
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	-16(%rbp), %rdi
	callq	_PyCallable_Check
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	-16(%rbp), %rdi
	callq	_Py_XINCREF
	movq	_sha1_callback@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_Py_XDECREF
	movq	-16(%rbp), %rax
	movq	%rax, (%rbx)
	movq	_Py_None@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_Py_INCREF
	movq	(%rbx), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_PyExc_TypeError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_PyErr_SetString
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"O:set_callback"

	.comm	_PyExc_TypeError,4,2            ## @PyExc_TypeError
L_.str.1:                               ## @.str.1
	.asciz	"parameter must be callable"

	.comm	_sha1_callback,8,3              ## @sha1_callback
	.comm	_Py_None,8,3                    ## @Py_None
	.no_dead_strip	_register_sha1_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function register_sha1_callback
_register_sha1_callback:                ; @register_sha1_callback
	.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
	mov	x0, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_PyArg_ParseTuple
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_PyCallable_Check
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_Py_XINCREF
Lloh2:
	adrp	x19, _sha1_callback@GOTPAGE
Lloh3:
	ldr	x19, [x19, _sha1_callback@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_Py_XDECREF
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh4:
	adrp	x19, _Py_None@GOTPAGE
Lloh5:
	ldr	x19, [x19, _Py_None@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_Py_INCREF
	ldr	x0, [x19]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _PyExc_TypeError@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PyExc_TypeError@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_PyErr_SetString
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"O:set_callback"

	.comm	_PyExc_TypeError,4,2            ; @PyExc_TypeError
l_.str.1:                               ; @.str.1
	.asciz	"parameter must be callable"

	.comm	_sha1_callback,8,3              ; @sha1_callback
	.comm	_Py_None,8,3                    ; @Py_None
	.no_dead_strip	_register_sha1_callback
.subsections_via_symbols
