	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tpm_show_pubek                 ## -- Begin function tpm_show_pubek
	.p2align	4, 0x90
_tpm_show_pubek:                        ## @tpm_show_pubek
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_dev_get_drvdata
	movq	_tpm_readpubek_header@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -176(%rbp)
	movq	_READ_PUBEK_RESULT_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	leaq	-184(%rbp), %rsi
	movq	%rax, %rdi
	callq	_transmit_cmd
	movl	%eax, %ecx
	movq	%r14, %rax
	testl	%ecx, %ecx
	je	LBB0_1
LBB0_5:
	subl	%r14d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-184(%rbp), %r12
	movl	40(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	44(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	48(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	52(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	56(%r12), %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	60(%r12), %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	64(%r12), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	68(%r12), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	88(%r12), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	92(%r12), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	96(%r12), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	100(%r12), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	104(%r12), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	108(%r12), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	112(%r12), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	116(%r12), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	120(%r12), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	124(%r12), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	128(%r12), %r15d
	movl	132(%r12), %r13d
	movl	136(%r12), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r13
	pushq	%r15
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	callq	_sprintf
	addq	$144, %rsp
	movslq	%eax, %rbx
	addq	%r14, %rbx
	leaq	L_.str.2(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	cmpq	$256, %r13                      ## imm = 0x100
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	152(%r12,%r13,4), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rbx, %rax
	incq	%r13
	testb	$15, %r13b
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movw	$10, (%rax)
	incq	%rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_tpm_readpubek_header,4,2       ## @tpm_readpubek_header
	.comm	_READ_PUBEK_RESULT_SIZE,4,2     ## @READ_PUBEK_RESULT_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attempting to read the PUBEK"

L_.str.1:                               ## @.str.1
	.asciz	"Algorithm: %02X %02X %02X %02X\nEncscheme: %02X %02X\nSigscheme: %02X %02X\nParameters: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\nModulus length: %d\nModulus: \n"

L_.str.2:                               ## @.str.2
	.asciz	"%02X "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tpm_show_pubek                 ; -- Begin function tpm_show_pubek
	.p2align	2
_tpm_show_pubek:                        ; @tpm_show_pubek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
	mov	x19, x2
	bl	_dev_get_drvdata
Lloh0:
	adrp	x8, _tpm_readpubek_header@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tpm_readpubek_header@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
Lloh3:
	adrp	x8, _READ_PUBEK_RESULT_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _READ_PUBEK_RESULT_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	sub	x1, x29, #104
	bl	_transmit_cmd
	mov	x20, x19
	cbz	w0, LBB0_2
LBB0_1:
	sub	w0, w20, w19
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_2:
	ldur	x21, [x29, #-104]
	ldr	w0, [x21, #136]
	ldr	w9, [x21, #40]
	ldr	w8, [x21, #44]
	stp	x8, x9, [x29, #-120]            ; 16-byte Folded Spill
	ldr	w9, [x21, #48]
	ldr	w8, [x21, #52]
	stp	x8, x9, [x29, #-136]            ; 16-byte Folded Spill
	ldr	w9, [x21, #56]
	ldr	w8, [x21, #60]
	stp	x8, x9, [x29, #-152]            ; 16-byte Folded Spill
	ldr	w9, [x21, #64]
	ldr	w8, [x21, #68]
	stp	x8, x9, [x29, #-168]            ; 16-byte Folded Spill
	ldr	w8, [x21, #88]
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	ldr	w9, [x21, #92]
	ldr	w8, [x21, #96]
	stp	x8, x9, [sp, #176]              ; 16-byte Folded Spill
	ldp	w8, w25, [x21, #100]
	str	x8, [sp, #168]                  ; 8-byte Folded Spill
	ldp	w26, w27, [x21, #108]
	ldp	w28, w20, [x21, #116]
	ldp	w22, w23, [x21, #124]
	ldr	w24, [x21, #132]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #152]
	stp	x22, x23, [sp, #136]
	stp	x28, x20, [sp, #120]
	stp	x26, x27, [sp, #104]
	ldr	x8, [sp, #168]                  ; 8-byte Folded Reload
	stp	x8, x25, [sp, #88]
	ldr	x9, [sp, #176]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #184]                  ; 8-byte Folded Reload
	stp	x8, x9, [sp, #72]
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	str	x8, [sp, #64]
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	str	x8, [sp, #56]
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	str	x8, [sp, #48]
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	str	x8, [sp, #40]
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [sp, #32]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	x8, [sp, #24]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	x8, [sp, #16]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [sp, #8]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp]
	mov	x0, x19
	bl	_sprintf
	mov	x22, #0
	add	x20, x19, w0, sxtw
	add	x23, x21, #152
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	w24, #10
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x22, #256
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23, x22, lsl #2]
	str	x8, [sp]
	mov	x0, x20
	mov	x1, x21
	bl	_sprintf
	add	x20, x20, w0, sxtw
	add	x22, x22, #1
	tst	x22, #0xf
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w24, [x20], #1
	b	LBB0_3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_tpm_readpubek_header,4,2       ; @tpm_readpubek_header
	.comm	_READ_PUBEK_RESULT_SIZE,4,2     ; @READ_PUBEK_RESULT_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attempting to read the PUBEK"

l_.str.1:                               ; @.str.1
	.asciz	"Algorithm: %02X %02X %02X %02X\nEncscheme: %02X %02X\nSigscheme: %02X %02X\nParameters: %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\nModulus length: %d\nModulus: \n"

l_.str.2:                               ; @.str.2
	.asciz	"%02X "

.subsections_via_symbols
