	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_and_dump
_query_and_dump:                        ## @query_and_dump
	.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
	movl	$4136, %eax                     ## imm = 0x1028
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, %ebx
	movq	%rcx, -4160(%rbp)               ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -4176(%rbp)               ## 8-byte Spill
	movq	%rdi, -4168(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -4148(%rbp)
	leaq	-4144(%rbp), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memset
	movq	_ibd_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ibmad_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	16(%rbp), %r8d
	callq	_pma_query_via
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movl	24(%rbp), %ebx
	cmpl	32(%rbp), %ebx
	jge	LBB0_6
## %bb.2:
	xorl	%r12d, %r12d
	leaq	-4148(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	%ebx, 32(%rbp)
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-4144(%rbp), %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_mad_decode_field
	cmpl	$0, -4148(%rbp)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %r12
	movq	-4168(%rbp), %rax               ## 8-byte Reload
	leaq	(%rax,%r12), %r15
	movq	-4176(%rbp), %r13               ## 8-byte Reload
	subq	%r12, %r13
	movl	%ebx, %edi
	callq	_mad_field_name
	movl	-4148(%rbp), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rcx
	callq	_snprintf
	addl	%eax, %r12d
	jmp	LBB0_5
LBB0_8:
	movq	%r14, %rdi
	callq	_portid2str
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	-4160(%rbp), %rdx               ## 8-byte Reload
	movl	%eax, %ecx
	movl	%ebx, %r8d
	callq	_IBWARN
	movq	_summary@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.7:
	movl	%r12d, %eax
	addq	$4136, %rsp                     ## imm = 0x1028
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ibd_timeout,4,2                ## @ibd_timeout
	.comm	_ibmad_port,4,2                 ## @ibmad_port
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s query failed on %s, %s port %d"

	.comm	_summary,4,2                    ## @summary
L_.str.1:                               ## @.str.1
	.asciz	" [%s == %u]"

	.no_dead_strip	_query_and_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_and_dump
_query_and_dump:                        ; @query_and_dump
	.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
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x19, x7
	mov	x26, x6
	mov	x23, x5
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	x21, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	str	wzr, [sp, #4]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4096
	bl	_memset
Lloh5:
	adrp	x8, _ibd_timeout@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ibd_timeout@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _ibmad_port@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ibmad_port@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	add	x0, sp, #8
	mov	x1, x25
	mov	x2, x22
	mov	x4, x26
	bl	_pma_query_via
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w26, [x29, #16]
	cmp	w19, w26
	b.ge	LBB0_7
; %bb.2:
	mov	w22, #0
Lloh11:
	adrp	x23, l_.str.1@PAGE
Lloh12:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	cmp	w26, w19
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	add	x2, sp, #4
	mov	x1, x19
	bl	_mad_decode_field
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w22
	add	x24, x21, x8
	sub	x25, x20, x8
	mov	x0, x19
	bl	_mad_field_name
	mov	x3, x0
	ldr	w4, [sp, #4]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x23
	bl	_snprintf
	add	w22, w22, w0
	b	LBB0_3
LBB0_6:
	mov	x0, x25
	bl	_portid2str
	mov	x3, x0
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x24
	mov	x4, x22
	bl	_IBWARN
	mov	w22, #0
Lloh15:
	adrp	x8, _summary@GOTPAGE
Lloh16:
	ldr	x8, [x8, _summary@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_8
LBB0_7:
	mov	w22, #0
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x22
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ibd_timeout,4,2                ; @ibd_timeout
	.comm	_ibmad_port,4,2                 ; @ibmad_port
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s query failed on %s, %s port %d"

	.comm	_summary,4,2                    ; @summary
l_.str.1:                               ; @.str.1
	.asciz	" [%s == %u]"

	.no_dead_strip	_query_and_dump
.subsections_via_symbols
